First published: Fri Aug 27 2021(Updated: )
ngiflib 0.4 has a heap overflow in GetByte() at ngiflib.c:70 in NGIFLIB_NO_FILE mode, GetByte() reads memory buffer without checking the boundary.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
MiniUPnP | =0.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-36531 is classified as a moderate severity vulnerability due to the heap overflow risk it presents.
To fix CVE-2021-36531, update ngiflib to the latest version that resolves the heap overflow issue.
CVE-2021-36531 is caused by the GetByte() function reading memory without proper boundary checks in NGIFLIB_NO_FILE mode.
CVE-2021-36531 affects ngiflib version 0.4.
Exploitation of CVE-2021-36531 could lead to application crashes or arbitrary code execution due to the heap overflow.