CVE-2008-1096 Memory corruption in n/a

Medium 6.8 Published Updated

Attackers can execute arbitrary code or cause denial of service via crafted XCF files in ImageMagick and GraphicsMagick libraries.

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-2008-1096?

CVE-2008-1096 is a medium-severity memory corruption vulnerability in Imagemagick Imagemagick, published on 5 Mar 2008. 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 load_tile function in the XCF coder in coders/xcf.c in (1) ImageMagick 6.2.8-0 and (2) GraphicsMagick (aka gm) 1.1.7 allows user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted .xcf file that triggers an out-of-bounds heap write, possibly related to the ScaleCharToQuantum function.

Weakness: CWE-119

Which versions are affected by CVE-2008-1096?

It affects 2 products.

Products include Imagemagick Graphicsmagick, Imagemagick Imagemagick.

How do I fix CVE-2008-1096?

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-2008-1096 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2008-1096, GHSA-q243-329x-qc2r.

Is CVE-2008-1096 in your software?

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

Check your SBOMs for free