Vulnerability · Published Apr 15, 2022 · Assigned by mitre
CVE-2022-28042
High 8.8
In plain English
A high-severity security flaw in the libstb package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)1.6%top 24.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libstb | no fix listed | DEBIAN-CVE-2022-28042 |
| Debian:13 | libstb | 0.0~git20230129.5736b15+ds-1 | DEBIAN-CVE-2022-28042 |
| Debian:14 | libstb | 0.0~git20230129.5736b15+ds-1 | DEBIAN-CVE-2022-28042 |
| Ubuntu:22.04:LTS | libstb | no fix listed | UBUNTU-CVE-2022-28042 |
| Ubuntu:24.04:LTS | libstb | no fix listed | UBUNTU-CVE-2022-28042 |
| Ubuntu:25.10 | libstb | no fix listed | UBUNTU-CVE-2022-28042 |
| Ubuntu:26.04:LTS | libstb | no fix listed | UBUNTU-CVE-2022-28042 |
| Ubuntu:26.10 | libstb | no fix listed | UBUNTU-CVE-2022-28042 |
Affected products (as reported)
References
- https://github.com/nothings/stb/pull/1297
- https://github.com/nothings/stb/issues/1289
- FEDORA-2022-29327a4b98 vendor-advisory
- FEDORA-2022-fe84314a8e vendor-advisory
- FEDORA-2022-c8f6a39cf6 vendor-advisory
- [debian-lts-announce] 20230131 [SECURITY] [DLA 3305-1] libstb security update mailing-list