VYPR
Unrated severityOSV Advisory· Published May 31, 2018· Updated Aug 5, 2024

CVE-2018-11578

CVE-2018-11578

Description

GifIndexToTrueColor in ngiflib.c in MiniUPnP ngiflib 0.4 has a Segmentation fault.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A segmentation fault in GifIndexToTrueColor in ngiflib 0.4 allows denial of service via crafted GIF.

Vulnerability

GifIndexToTrueColor in ngiflib.c (line 808) in MiniUPnP ngiflib version 0.4 causes a segmentation fault when processing a specially crafted GIF file. The issue is triggered by an invalid memory access, as reported by AddressSanitizer [2]. Additionally, a related stack-buffer-overflow in DecodeGifImg (line 543) has been observed [1]. The vulnerability exists in the ngiflib library as used by tools like gif2tga.

Exploitation

An attacker can exploit this vulnerability by providing a malicious GIF file to an application that uses the affected ngiflib library. No authentication or special network position is required; the attack is local or remote if the application processes user-supplied GIF files. The crash occurs during the decoding process, specifically when GifIndexToTrueColor is called from WritePixels [2].

Impact

Successful exploitation results in a denial of service (DoS) due to application crash. The segmentation fault terminates the process, preventing further processing. There is no indication of code execution or information disclosure in the available references.

Mitigation

As of the publication date (2018-05-31), no official patch or fixed version has been disclosed in the available references [1][2]. Users should consider avoiding processing untrusted GIF files with ngiflib 0.4 until a fix is released. The library may be considered end-of-life or unmaintained.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.