CVE-2007-6697 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code or crash applications via crafted GIF files in SDL_image library.

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-2007-6697?

CVE-2007-6697 is a high-severity memory corruption vulnerability in n/a, published on 1 Feb 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

Buffer overflow in the LWZReadByte function in IMG_gif.c in SDL_image before 1.2.7 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted GIF file, a similar issue to CVE-2006-4484. NOTE: some of these details are obtained from third party information.

Weakness: CWE-119

Which versions are affected by CVE-2007-6697?

It affects 1 product.

Products include Sdl Sdl Image.

How do I fix CVE-2007-6697?

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-2007-6697 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-6697 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2007-6697, GHSA-r8gv-4rq7-chfp.

Is CVE-2007-6697 in your software?

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

Check your SBOMs for free