CVE-2017-18220 Use after free in n/a

High 8.8 Published Updated

Remote attackers can cause denial of service via crafted JNG files in GraphicsMagick due to a use-after-free vulnerability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-18220?

CVE-2017-18220 is a high-severity use after free vulnerability in Graphicsmagick Graphicsmagick, published on 5 Mar 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file, a related issue to CVE-2017-11403.

Weakness: CWE-416

Which versions are affected by CVE-2017-18220?

It affects 1 product.

Products include Graphicsmagick Graphicsmagick.

How do I fix CVE-2017-18220?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-18220 being exploited?

There is no known exploitation of CVE-2017-18220 in the wild and no public exploit code.

All Graphicsmagick Graphicsmagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-18220, GHSA-pm5j-x49r-ccq7, UBUNTU-CVE-2017-18220.

Is CVE-2017-18220 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free