
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-27938 affects stbimage.h (also known as the stb image loader) version 2.19, which is utilized in libsixel and other products. The vulnerability was discovered and disclosed on March 26, 2022, and involves a reachable assertion in the stbi_createpngimage_raw function (NVD, MITRE).
The vulnerability exists in the stbi_createpngimageraw function of stbimage.h version 2.19. When processing certain PNG images, the function can trigger an assertion failure with the message 'imgwidthbytes <= x' at line 4374 of stbimage.h. This issue was identified during testing with Address Sanitizer (ASan) enabled (GitHub Issue).
The vulnerability has been classified as having negligible security impact, primarily affecting the availability of applications using the affected library. When triggered, it causes an assertion failure that leads to program termination (Debian Security).
The vulnerability affects multiple versions of packages using stb_image.h, including various Debian distributions. As of the latest reports, some distributions remain vulnerable, including Debian bullseye, bookworm, and sid (Debian Security).
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."