CVE-2007-6697

HIGH ⚠ Exploit

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

Affects 1 product across 1 vendor.

CVSS 2.07.5
EPSS10.7%
Percentile96th
PatchUnknown
CVSS Vector — Plain English Remotely exploitable over the network, low complexity.
CWE Weakness Definitions
CWE-119: Improper Restriction of Operations within Memory Buffer

Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.

Related Attack Patterns (CAPEC)
CAPEC-8 Buffer Overflow in an API Call
via CWE-119
CAPEC-9 Buffer Overflow in Local Command-Line Utilities
via CWE-119
CAPEC-10 Buffer Overflow via Environment Variables
via CWE-119
CAPEC-14 Client-side Injection-induced Buffer Overflow
via CWE-119
CAPEC-24 Filter Failure through Buffer Overflow
via CWE-119
Show all 12

Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.

◆ AI Analysis — automated analysis, not human-reviewed

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.

BSID: BS-2008-GLOBAL-158340-H • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: MEDIUM

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is 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 (application crash) or possibly execute arbitrary code via a crafted GIF file.
What is the CVSS score for CVE-2007-6697?
CVE-2007-6697 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 10.7%.
Is CVE-2007-6697 actively exploited?
Public exploit available for CVE-2007-6697. Exploitation risk elevated.
How do I remediate CVE-2007-6697?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2007-6697?
CVE-2007-6697 affects Sdl Sdl Image.
Vulnerability Details
CVE IDCVE-2007-6697
BSIDBS-2008-GLOBAL-158340-H BreachSpider Global ID
CVSS VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Published2008-02-01
Last Modified2026-06-16
ICS Relevance15%
Weakness (CWE)
SourceNVD
Official 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.

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

The vulnerability is triggered by a crafted GIF file that, when processed by the vulnerable version of SDL_image, causes a buffer overflow in the LWZReadByte function. This can lead to application crashes or, in some cases, arbitrary code execution.

Exploitation Likelihood: MEDIUM

Affected Products
VendorProductAffected Versions
Sdl Sdl Image ≤ 1.2.6
Remediation

No official vendor advisory link on record. See the CVE record →

Vendor PSIRT: [email protected]
Threat Intelligence
● Threat Intelligence Validated: October 2026 | Threat Age: 6831 Days
CISA known-exploitedNot in KEV catalog
Public Exploit⚠ Available — Reference
PoC CodeNot confirmed
AI Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceMEDIUM
Enriched At2026-05-24
Related CVEs affecting Sdl
CVE-2008-0544 10.0 Heap-based buffer overflow in the IMG_LoadLBM_RW function in IMG_lbm.c in SDL... CVE-2018-19371 6.5 The SaveUserSettings service in Content Manager in SDL Web 8.5.0 has an XXE V...
View all Sdl CVEs →

ICS/OT Vulnerability Intelligence for Your Environment

BreachSpider tracks 384,000+ CVEs and matches them to your ICS/OT assets by exact version, with AI analysis, NERC CIP mapping, and vendor PSIRT contacts.

Create a free account →