Vulnerability in Nothings Stb
CVE-2023-45663
stb_image is a single file MIT licensed library for processing images. The stbi__getn function reads a specified number of bytes from context (typically a file) into the specified buffer. In case the file stream points to the end, it returns zero. 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 of the two is likely more exploitable as an attacker may also control the size of an uninitialized buffer.
EPSS: 0.007 (47.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Nothings Stb — versions <= 2.28
- Nothings Stb_image.h — versions 2.28
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com
- security-advisories@github.com
- security-advisories@github.com
Frequently asked questions
- What is CVE-2023-45663?
- CVE-2023-45663 is a medium-severity vulnerability in Nothings Stb, classified under Use of Uninitialized Resource. CVSS score: 5.3/10. Published 2023-10-21.
- How severe is CVE-2023-45663?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2023-45663 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.