
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-28042 affects stb_image.h version 2.27, where a heap-based use-after-free vulnerability was discovered in the function stbi__jpeg_huff_decode. The vulnerability was reported in February 2022 and has received a CVSS v3.1 base score of 8.8 (HIGH) (NVD).
The vulnerability is a heap-based use-after-free condition that occurs specifically in the stbi__jpeg_huff_decode function of stb_image.h. The issue manifests when attempting to decode JPEG images with specific malformed Huffman table configurations. The CVSS vector for this vulnerability is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating that it can be exploited remotely with low attack complexity and no privileges required, but does require user interaction (NVD).
The heap-based use-after-free vulnerability can lead to program crashes, potential information disclosure, and possible code execution. The high severity rating (CVSS 8.8) indicates that successful exploitation could result in significant impact on the confidentiality, integrity, and availability of the affected system (NVD).
A fix for this vulnerability has been released and is available through various distribution channels. Debian has released security updates for affected packages in version 0.0~git20180212.15.e6afb9c-1+deb10u1 (Debian LTS). Fedora has also released security updates for versions 34, 35, and 36 (Fedora Update). Users are strongly recommended to upgrade to the latest version of the software.
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."