CVE-2022-28042: Use After Free

Published Apr 15, 2022
·
Updated

stbimage.h v2.27 was discovered to contain an heap-based use-after-free via the function stbijpeghuffdecode.

Affected Software

5 affected components
Nothings Stb Image.h=2.27
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Debian Debian Linux=10.0

Event History

Apr 15, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue in stb_image.h v2.27?

The vulnerability ID for this issue in stb_image.h v2.27 is CVE-2022-28042.

2

What is the description of the vulnerability?

The vulnerability in stb_image.h v2.27 is a heap-based use-after-free via the function stbi__jpeg_huff_decode.

3

Which software versions are affected by this vulnerability?

The software versions affected by this vulnerability are stb_image.h v2.27, Fedora 34, Fedora 35, Fedora 36, and Debian Debian Linux 10.0.

4

What is the severity of CVE-2022-28042?

The severity of CVE-2022-28042 is high (CVSS score: 8.8).

5

Are there any references related to this vulnerability?

Yes, there are references related to this vulnerability. They can be found at the following links: [Link 1](https://github.com/nothings/stb/issues/1289), [Link 2](https://github.com/nothings/stb/pull/1297), [Link 3](https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203