PT-2021-7754
CVE-2021-28021
·
Published
2021-03-04
·
Updated
2023-02-24
Description by
CVSS 2.0
9.3
HighMetricsAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
stb versions 2.26
Description
The issue is related to a buffer overflow vulnerability in the
stbi extend receive function of the stb image.h component in the stb library for C/C++. This vulnerability can be exploited by a remote attacker using a specially crafted JPEG file, allowing them to access confidential data, compromise data integrity, and cause a denial of service.Recommendations
For stb version 2.26, consider disabling the
stbi extend receive function until a patch is available to prevent exploitation. Restrict access to the stb image.h component to minimize the risk of exploitation. Avoid using the stb image.h component with untrusted JPEG files until the issue is resolved.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾