CVE-2007-6697 in the critical feed json
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 (ap…
published 2008-02-01 18 y ago modified 2026-06-16 4 mo ago also EUVD-2007-6661
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.7%
- EPSS 10.7% chance of exploitation in 30 days, percentile 95%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- sdl-image1.2 Debian 14, Debian 13, Debian 12 1.2.6-2
debian advisories DEBIAN-CVE-2007-6697
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-6697 updated
SDL_image: GIF handling buffer overflow
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-31054)
- Published
Exploit prediction
10.73% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-31054 SDL_image 1.2.6 - Invalid '.GIF' File LWZ Minimum Code Size Remote Buffer Overflow dos, 2008-01-23
- libsdl.org http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL_image/IMG_gif.c?r1=2970&r2=3462 referenced PoC, tagged "exploit" by a source, unverified
- marc.info http://marc.info/?l=bugtraq&m=120110205511630&w=2 referenced PoC, tagged "exploit" by a source, unverified
- vexillium.org http://vexillium.org/?sec-sdlgif referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
libsdl.org
/cgi/viewvc.cgi/trunk/SDL_image/CHANGES?revision=3462&view=markup
patch
-
libsdl.org
/cgi/viewvc.cgi/trunk/SDL_image/IMG_gif.c?r1=2970&r2=3462
exploit
-
marc.info
/?l=bugtraq&m=120110205511630&w=2
mailing-list, exploit
-
vexillium.org
/?sec-sdlgif
exploit
-
redhat.com
/archives/fedora-package-announce/2008-February/msg00008.html
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2008-February/msg00039.html
vendor-advisory
-
debian.org
/security/2008/dsa-1493
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200802-01.xml
vendor-advisory
-
ubuntu.com
/usn/usn-595-1
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2008:040
vendor-advisory
-
secunia.com
/advisories/28640
third-party-advisory, vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/39865
vdb-entry
-
secunia.com
/advisories/28869
third-party-advisory
-
secunia.com
/advisories/28850
third-party-advisory
-
secunia.com
/advisories/28752
third-party-advisory
- issues.rpath.com /browse/RPL-2206
- bugs.gentoo.org /show_bug.cgi?id=207933
-
secunia.com
/advisories/29542
third-party-advisory
-
securityfocus.com
/bid/27417
vdb-entry
- wiki.rpath.com /Advisories:rPSA-2008-0061
-
securityfocus.com
/archive/1/488079/100/0/threaded
mailing-list
-
secunia.com
/advisories/28830
third-party-advisory
-
vupen.com
/english/advisories/2008/0266
vdb-entry
-
secunia.com
/advisories/28837
third-party-advisory
Sources
- CVE List CVE-2007-6697
- NVD CVE-2007-6697
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.