Buffer Overflow Vulnerability in stb_image Library Affecting Image Processing
CVE-2021-42716
7.1HIGH
What is CVE-2021-42716?
A buffer overflow vulnerability exists in the stb_image library, specifically in the PNM loader. This issue arises when 16-bit PGM files are incorrectly processed as 8-bit images, leading to improper memory handling and potential crashes in services utilizing stb_image. Furthermore, attackers might exploit this vulnerability to read up to 1024 bytes of non-consecutive heap data, posing risks to application integrity and data security.
