PT-2021-21281 · Giflib · Giflib
Marsman1996
·
Published
2021-08-27
·
Updated
2021-09-07
·
CVE-2021-36530
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
ngiflib version 0.4
Description
The issue is a heap overflow in the
GetByteStr() function at ngiflib.c:108 when in NGIFLIB NO FILE mode. This occurs because GetByteStr() copies a memory buffer without checking its boundary, leading to potential exploitation.Recommendations
For ngiflib version 0.4, as a temporary workaround, consider disabling the
GetByteStr() function until a patch is available. Restrict access to the ngiflib.c file, specifically the GetByteStr() function at line 108, to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Giflib