Back
CVE-2021-28021Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h in stb 2.26 via a crafted JPEG file.
- 7.8HighCVSS base score
- 1.4%Exploitation in 30 daysEPSS · top 26% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h in stb 2.26 via a crafted JPEG file.
Timeline
ID reserved
By mitre
- 7 months later
· 7 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.4% · top 26% of all CVEs (18 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
n/a
- affected n/a
References
References8
- https://github.com/nothings/stb/issues/1108 (opens in a new tab)x_transferred
- FEDORA-2021-001f25d986 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-f8ba4a690e (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-3fc69d203c (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-8ea648186c (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-16d848834d (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-832689aa6b (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20230131 [SECURITY] [DLA 3305-1] libstb security update (opens in a new tab)mailing-listx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-14739 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-28021)Record last updated .