CVE-2015-7505
Linux Debian vulnerability analysis and mitigation

Overview

Stack-based buffer overflow vulnerability (CVE-2015-7505) affects the gif_next_LZW function in libnsgif.c in Libnsgif version 0.1.2. The vulnerability was disclosed in December 2015 and primarily impacts the NetSurf browser project which uses this library for GIF image decoding (Mailing List).

Technical details

The vulnerability occurs in the gif_next_LZW function where it writes onto the stack as long as the 'code' value is at least 'clear_code'. The issue stems from insufficient bounds checking in the LZW decompression routine. The vulnerability has a CVSS v3.1 base score of 8.8 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating network vector, low attack complexity, no privileges required, and user interaction needed (NVD).

Impact

When successfully exploited, this vulnerability can lead to denial of service (application crash) or potentially allow arbitrary code execution when processing a specially crafted GIF file. The high CVSS score indicates severe potential impacts on confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the git HEAD repository of libnsgif. Users and organizations should upgrade to a version newer than 0.1.2 that includes the security fix (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-2026-22776HIGH8.7
  • Linux DebianLinux Debian
  • cpp-httplib
NoNoJan 12, 2026
CVE-2026-22801MEDIUM6.8
  • OpenJDK JDKOpenJDK JDK
  • java-1.8.0-openjdk-accessibility-fastdebug
NoYesJan 12, 2026
CVE-2026-22695MEDIUM6.1
  • OpenJDK JDKOpenJDK JDK
  • java-1.8.0-openjdk-javadoc-zip
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-0665N/AN/A
  • Linux DebianLinux Debian
  • qemu
NoNoJan 13, 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