Vulnerability · Published Nov 2, 2022 · Assigned by mitre
CVE-2021-37789
High 8.1
In plain English
A high-severity out-of-bounds write 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.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.0%top 37.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
stb_image.h 2.27 has a heap-based buffer over in stbi__jpeg_load, leading to Information Disclosure or Denial of Service.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libstb | 0.0~git20210910.af1a5bc+ds-1 | DEBIAN-CVE-2021-37789 |
| Debian:13 | libstb | 0.0~git20210910.af1a5bc+ds-1 | DEBIAN-CVE-2021-37789 |
| Debian:14 | libstb | 0.0~git20210910.af1a5bc+ds-1 | DEBIAN-CVE-2021-37789 |
| Ubuntu:22.04:LTS | libstb | no fix listed | UBUNTU-CVE-2021-37789 |
| Ubuntu:24.04:LTS | libstb | no fix listed | UBUNTU-CVE-2021-37789 |
| Ubuntu:25.10 | libstb | no fix listed | UBUNTU-CVE-2021-37789 |
| Ubuntu:26.04:LTS | libstb | no fix listed | UBUNTU-CVE-2021-37789 |
| Ubuntu:26.10 | libstb | no fix listed | UBUNTU-CVE-2021-37789 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H