CVE-2019-17541 Use after free in n/a

High 8.8 Published Updated

A use-after-free vulnerability in ImageMagick allows attackers to execute arbitrary code or cause a denial of service via crafted JPEG files.

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-2019-17541?

CVE-2019-17541 is a high-severity use after free vulnerability in Imagemagick Imagemagick, published on 14 Oct 2019. 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

ImageMagick before 7.0.8-55 has a use-after-free in DestroyStringInfo in MagickCore/string.c because the error manager is mishandled in coders/jpeg.c.

Weakness: CWE-416

Which versions are affected by CVE-2019-17541?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2019-17541?

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-2019-17541 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as GHSA-p8cw-ccq5-gwg9, JLSEC-2026-832.

Is CVE-2019-17541 in your software?

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

Check your SBOMs for free