Description
The DecodeGifImg function in ngiflib.c in MiniUPnP ngiflib 0.4 lacks certain checks against width and height, which allows remote attackers to cause a denial of service (WritePixels heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted GIF file.
References (2)
Core 2
Core References
Patch x_refsource_confirm
https://github.com/miniupnp/ngiflib/commit/b588a2249c7abbfc52173e32ee11d6facef82f89
Exploit, Third Party Advisory x_refsource_confirm
https://github.com/miniupnp/ngiflib/issues/1
Scores
CVSS v3
8.8
EPSS
0.0057
EPSS Percentile
68.6%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-787
Status
published
Products (1)
miniupnp_project/ngiflib
0.4
Published
May 02, 2018
Tracked Since
Feb 18, 2026