Application crash via freed PIC buffer dereference
Published Oct 3, 2023 · Updated Jun 17, 2025
NULL pointer dereference in Nothings stb 2.28 allows attackers to crash an application that processes a crafted PIC image file. After stbi__pic_load_core rejects malformed PIC data, stbi__pic_load frees and nulls its result buffer but still passes that pointer to stbi__convert_format, which dereferences it during pixel conversion. Exploitation requires an application embedding stb_image to process the file with a requested component count other than zero or four; the bounded consequence is process termination.
Summary
What happened
NULL pointer dereference in Nothings stb 2.28 allows attackers to crash an application that processes a crafted PIC image file. After stbi__pic_load_core rejects malformed PIC data, stbi__pic_load frees and nulls its result buffer but still passes that pointer to stbi__convert_format, which dereferences it during pixel conversion. Exploitation requires an application embedding stb_image to process the file with a requested component count other than zero or four; the bounded consequence is process termination.
The record
- CVE
- CVE-2023-43898
- Published
- Oct 3, 2023
- Updated
- Jun 17, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-476, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 3, 2023CVE publishedPublication date reported by the CVE source.
- Jun 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- null-stb crash proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo