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

High 8.8 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via crafted JNG files due to improper pointer management in GraphicsMagick.

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-14103?

CVE-2017-14103 is a high-severity use after free vulnerability in Graphicsmagick Graphicsmagick, published on 1 Sep 2017. 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 ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 do not properly manage image pointers after certain error conditions, which allows remote attackers to conduct use-after-free attacks via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-11403.

Weakness: CWE-416

Which versions are affected by CVE-2017-14103?

It affects 1 product.

Products include Graphicsmagick Graphicsmagick.

How do I fix CVE-2017-14103?

Apply the vendor's patch.

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-14103 being exploited?

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

All Graphicsmagick Graphicsmagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-14103, GHSA-f9pv-j3cq-p428.

Is CVE-2017-14103 in your software?

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

Check your SBOMs for free