CVE-2015-7506
Linux Debian vulnerability analysis and mitigation

Overview

The gif_next_LZW function in libnsgif.c in Libnsgif 0.1.2 allows context-dependent attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted LZW stream in a GIF file (Openwall Mailing List, NVD).

Technical details

The vulnerability occurs when 'set_code_size' is 0xc, causing 'clear_code' to be assigned a value of 4096. The while-loop in 'gif_next_LZW()' executes as long as 'code >= clear_code', which can lead to an out-of-bounds read when 'code' is used to dereference 'table' (2d array * 4096). Although a boundary check exists for 'code >= max_code', the result may still exceed 'max_code' due to the bookkeeping of the original value. Testing demonstrated out-of-bounds reads with code values of 6670 and 7999 (Openwall Mailing List).

Impact

The vulnerability can result in denial of service through application crashes and potential information disclosure through out-of-bounds memory reads when processing specially crafted GIF files (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the git HEAD version of libnsgif. Users should upgrade to the patched version (Openwall Mailing List).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67858N/AN/A
  • Linux DebianLinux Debian
  • foomuuri
NoYesJan 08, 2026
CVE-2025-67603N/AN/A
  • Linux DebianLinux Debian
  • foomuuri
NoYesJan 08, 2026
CVE-2025-14017N/AN/A
  • cURLcURL
  • curl
NoYesJan 08, 2026
CVE-2025-15224N/AN/A
  • cURLcURL
  • curl
NoYesJan 06, 2026
CVE-2025-15079N/AN/A
  • cURLcURL
  • curl
NoYesJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management