Heap Overflow Vulnerability in ngiflib by MiniUPnP
CVE-2021-36531
8.8HIGH
What is CVE-2021-36531?
The ngiflib library, specifically version 0.4, contains a vulnerability that allows for a heap overflow in the GetByte() function. This occurs in NGIFLIB_NO_FILE mode when GetByte() operates without adequate boundary checks while reading memory buffers. As a result, this oversight can lead to uncontrolled memory access, which could potentially enable attackers to exploit this weakness for arbitrary code execution or to crash the program.
