Back to Database
Status published
High
CVE-2022-28042
stb_image.h v2.27 was discovered to contain an heap-based use-after-free via...
Vulnerability Description
stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-28042
Credits & Attribution
No credits recorded in the NVD database.
References
- https://github.com/nothings/stb/pull/1297
- https://github.com/nothings/stb/issues/1289
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/
- https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html
More from nothings
View All →CVE-2023-45682
Wild address read in vorbis_decode_packet_rest in stb_vorbis
Medium
5.3
CVE-2023-45681
Out of bounds heap buffer write in stb_vorbis
High
7.3
CVE-2023-45680
Null pointer dereference in vorbis_deinit in stb_vorbis
Medium
5.3
CVE-2023-45679
Attempt to free an uninitialized memory pointer in vorbis_deinit in stb_vorbis
High
7.3
CVE-2023-45678
Off-by-one heap buffer write in start_decoder in stb_vorbis
Medium
6.5
Affected Vendor
nothings
View all reports →Affected Software
stb image.h, fedora, debian linux
Vulnerable Versions:
2.27, 34, 35, 36, 10.0
Timeline
Official Publish:
April 15th, 2022
Last Modified:
August 3rd, 2024
Added to House:
July 21st, 2026
CVSS Vectors
V3:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.