PT-2023-29636 · Stb Image+3 · Stb Image+3
Jarlob
+1
·
Published
2023-10-20
·
Updated
2024-09-13
·
CVE-2023-45663
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
stb image (affected versions not specified)
Description
The issue is related to the stbi getn function in the stb image library, which reads a specified number of bytes from a context into a buffer. If the file stream points to the end, it returns zero. However, there are two places where its return value is not checked: in the
stbi hdr load function and in the stbi tga load function. The latter is likely more exploitable as an attacker may also control the size of an uninitialized buffer.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use of Uninitialized Resource
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Stb Image