CVE-2022-28042
HIGHCVSS 8.8/10EPSS 1.55%
Last modified
CVE-2022-28042 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode.. EPSS estimates a 1.55% chance of exploitation in the next 30 days.
Description
stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nothings | Stb Image.H | 2.27 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Debian | Debian Linux | 10.0 |
References
- https://github.com/nothings/stb/issues/1289Exploit, Issue Tracking, Third Party Advisory
- https://github.com/nothings/stb/pull/1297Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00045.htmlMailing List, Third Party Advisory
- https://github.com/nothings/stb/issues/1289Exploit, Issue Tracking, Third Party Advisory
- https://github.com/nothings/stb/pull/1297Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00045.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-28042?
stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode.
How severe is CVE-2022-28042?
CVE-2022-28042 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 1.55% probability of exploitation in the next 30 days.
How do I fix CVE-2022-28042?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-28033Atom.CMS 2.0 is vulnerable to SQL Injection via Atom.CMS_adm…9.8
- CVE-2022-28034AtomCMS 2.0 is vulnerabie to SQL Injection via Atom.CMS_admi…9.8
- CVE-2022-28035Atom.CMS 2.0 is vulnerable to SQL Injection via Atom.CMS_adm…9.8
- CVE-2022-28036AtomCMS 2.0 is vulnerable to SQL Injection via Atom.CMS_admi…9.8
- CVE-2022-2804A vulnerability was found in SourceCodester Zoo Management S…9.8
- CVE-2022-28041stb_image.h v2.27 was discovered to contain an integer overf…6.5
- CVE-2022-28044Irzip v0.640 was discovered to contain a heap memory corrupt…9.8
- CVE-2022-28048STB v2.27 was discovered to contain an integer shift of inva…8.8
- CVE-2022-28049NGINX NJS 0.7.2 was discovered to contain a NULL pointer der…5.5
- CVE-2022-2805A flaw was found in ovirt-engine, which leads to the logging…6.5
- CVE-2022-28051The "Add category" functionality inside the "Global Keywords…5.4
- CVE-2022-28052Directory Traversal vulnerability in file cn/roothub/store/F…8
Are you affected by CVE-2022-28042?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
