CVE-2017-11540 Memory corruption in n/a

Medium 6.5 Published Updated

A heap-based buffer over-read in ImageMagick allows attackers to cause denial of service or disclose sensitive information via crafted 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
None listed

What is CVE-2017-11540?

CVE-2017-11540 is a medium-severity memory corruption vulnerability in Imagemagick Imagemagick, published on 23 Jul 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

When ImageMagick 7.0.6-1 processes a crafted file in convert, it can lead to a heap-based buffer over-read in the GetPixelIndex() function, called from the WritePICONImage function in coders/xpm.c.

Weakness: CWE-125

Which versions are affected by CVE-2017-11540?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2017-11540?

No fix has been published for CVE-2017-11540 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-11540 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as GHSA-6wgc-c957-5c9c.

Is CVE-2017-11540 in your software?

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

Check your SBOMs for free