CVE-2007-6697
Buffer overflow in the LWZReadByte function in IMG_gif.c in SDL_image before 1.2.7 allows remote...
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.
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2007-6697- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-6697- Updated
- 2026-11-02
EUVDEUVD-2007-6661 No score
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.
- Record
EUVD-2007-6661- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r8gv-4rq7-chfp No score
Buffer overflow in the LWZReadByte function in IMG_gif.c in SDL_image before 1.2.7 allows remote...
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.
- Record
GHSA-r8gv-4rq7-chfp- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2007-6697- Updated
- 2026-11-02
OSVDEBIAN-CVE-2007-6697 No score
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.
- Record
DEBIAN-CVE-2007-6697- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sdl-image1.2Debian:12 |
before 1.2.6-2 | 1.2.6-2 |
sdl-image1.2Debian:13 |
before 1.2.6-2 | 1.2.6-2 |
sdl-image1.2Debian:14 |
before 1.2.6-2 | 1.2.6-2 |
sdl-image1.2Debian:3.1 |
before 1.2.4-1etch1, plus listed versions 1.2.4-1 |
1.2.4-1etch1 |
sdl-image1.2Debian:4.0 |
before 1.2.5-2etch1, plus listed versions 1.2.5-2 |
1.2.5-2etch1 |
sdl-image1.2Debian:4.0 |
before 1.2.5-2+etch1, plus listed versions 1.2.5-21.2.5-2etch1 |
1.2.5-2+etch1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | SDL_image 1.2.6 - Invalid '.GIF' File LWZ Minimum Code Size Remote Buffer Overflow | 2008-01-23 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| affected, aliases, exploits, facts, references, title | Exploit-DB, GitHub Advisories, OSV | |
| first indexed | CVE List, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-6697 is a high vulnerability (CVSS 7.5) in Sdl Image, published February 1, 2008. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 10.7%, the 95th percentile. Fixed in sdl-image1.2 1.2.6-2.
References
libsdl.org/cgi/viewvc.cgi/trunk/SDL_image/IMG_gif.c?r1=2970&r2=3462
exchange.xforce.ibmcloud.com/vulnerabilities/39865
secunia.com/advisories/28869
secunia.com/advisories/28850
redhat.com/archives/fedora-package-announce/2008-February/msg00008.html
secunia.com/advisories/28752
Show 21 moreShow less
issues.rpath.com/browse/RPL-2206
redhat.com/archives/fedora-package-announce/2008-February/msg00039.html
bugs.gentoo.org/show_bug.cgi?id=207933
libsdl.org/cgi/viewvc.cgi/trunk/SDL_image/CHANGES?revision=3462&view=markup
secunia.com/advisories/29542
debian.org/security/2008/dsa-1493
securityfocus.com/bid/27417
secunia.com/advisories/28640
wiki.rpath.com/Advisories:rPSA-2008-0061
securityfocus.com/archive/1/488079/100/0/threaded
secunia.com/advisories/28830
marc.info?l=bugtraq&m=120110205511630&w=2
gentoo.org/security/en/glsa/glsa-200802-01.xml
vexillium.org?sec-sdlgif
ubuntu.com/usn/usn-595-1
vupen.com/english/advisories/2008/0266
mandriva.com/security/advisories?name=MDVSA-2008:040
secunia.com/advisories/28837
nvd.nist.gov/vuln/detail/CVE-2007-6697
github.com/advisories/GHSA-r8gv-4rq7-chfp
security-tracker.debian.org/tracker/CVE-2007-6697