CVE-2007-6697

SDL_image < 1.2.6 - Buffer Overflow in LWZReadByte Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-6697. PoCs published by Gynvael Coldwind.

AI-analyzed exploit summary The provided text describes a buffer overflow vulnerability in SDL_image library versions prior to 1.2.7 when handling malformed GIF images. It references a remote exploit (GIF file) but does not contain executable code or a proof-of-concept exploit.

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.

Exploits (1)

exploitdb WRITEUP VERIFIED
by Gynvael Coldwind · textdoslinux
https://www.exploit-db.com/exploits/31054

The provided text describes a buffer overflow vulnerability in SDL_image library versions prior to 1.2.7 when handling malformed GIF images. It references a remote exploit (GIF file) but does not contain executable code or a proof-of-concept exploit.

Classification
Writeup 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Theoretical
Target: SDL_image < 1.2.7
No auth needed
Prerequisites: Malformed GIF image file · Application using vulnerable SDL_image library
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (24)

Core 24
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/39865
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28869
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28850
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28752
Issue Tracking x_refsource_confirm
https://issues.rpath.com/browse/RPL-2206
Issue Tracking x_refsource_confirm
http://bugs.gentoo.org/show_bug.cgi?id=207933
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/29542
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2008/dsa-1493
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/27417
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28640
Third Party Advisory x_refsource_confirm
http://wiki.rpath.com/Advisories:rPSA-2008-0061
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/488079/100/0/threaded
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28830
Exploit mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=120110205511630&w=2
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200802-01.xml
Exploit x_refsource_misc
http://vexillium.org/?sec-sdlgif
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/usn-595-1
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0266
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:040
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28837

Scores

EPSS 0.1073
EPSS Percentile 95.3%

Details

CWE
CWE-119
Status published
Products (1)
sdl/sdl_image < 1.2.6
Published Feb 01, 2008
Tracked Since Feb 18, 2026