
Cloud Vulnerability DB
A community-led vulnerabilities database
A null pointer dereference vulnerability was discovered in the stbimage library, tracked as RUSTSEC-2023-0021. The issue occurs in the stbimage.h file where a null pointer could be dereferenced in the stbiconvert_format function after stbipicloadcore returns 0, potentially leading to application crashes (GitHub PR).
The vulnerability exists in the image loading process where if the stbipicloadcore function returns 0, the result pointer is freed and set to 0. Subsequently, this null pointer is dereferenced in the stbiconvert_format function on line 5416, which leads to a crash. The issue specifically affects the PIC image format handling in the library (GitHub PR).
When exploited, this vulnerability can cause the application to crash due to the null pointer dereference, potentially leading to denial of service conditions in applications using the stb_image library (GitHub PR).
The issue has been fixed in stb_image version 0.2.5. Users are advised to upgrade to this version or later to mitigate the vulnerability (GitHub PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."