# CVE-2021-37789: stbimage.h 2.27 has a heap-based buffer over in stbijpegload, leading to Information Disclosure or Denial of Service.

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.03%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-02T00:00:00.000Z
- Modified: 2026-06-17T04:01:09.353Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

stb_image.h 2.27 has a heap-based buffer over in stbi__jpeg_load, leading to Information Disclosure or Denial of Service.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- stb_project stb: 2.27
- debian debian_linux: 10.0

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`

## References

- <https://github.com/nothings/stb/issues/1178> (exploit, issue-tracking, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-37789](https://www.cve.org/CVERecord?id=CVE-2021-37789), CVE Terms of Use, modified 2025-05-02
- NVD: [CVE-2021-37789](https://nvd.nist.gov/vuln/detail/CVE-2021-37789), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-37789 · Whole record: https://cve.day/CVE-2021-37789.json · Rebuilt by cve.day 2026-11-25T22:58:07.863Z
