Skip to content
Fencer Vulns
high 7.5

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 products
    not 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

  1. First public exploit (EDB-31054)
  2. 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

Sources

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.