CVE-2012-5576 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code or cause a crash in GIMP by tricking a user into opening a malicious XWD file with crafted color masks.

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-2012-5576?

CVE-2012-5576 is a high-severity memory corruption vulnerability in Gimp Gimp, published on 18 Dec 2012. 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

Multiple stack-based buffer overflows in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.8.2 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large (1) red, (2) green, or (3) blue color mask in an XWD file.

Weakness: CWE-787

Which versions are affected by CVE-2012-5576?

It affects 1 product.

Products include Gimp Gimp.

How do I fix CVE-2012-5576?

Upgrade to a fixed version.

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

Is CVE-2012-5576 being exploited?

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

All Gimp Gimp vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-5576, GHSA-vgwq-q6hg-h895.

Is CVE-2012-5576 in your software?

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

Check your SBOMs for free