Vulnerability · Published Oct 15, 2021 · Assigned by mitre

CVE-2021-28021

High 7.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.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.4%top 26.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h in stb 2.26 via a crafted JPEG file.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libstb0.0~git20220908.8b5f1f3+ds-1DEBIAN-CVE-2021-28021
Debian:13libstb0.0~git20220908.8b5f1f3+ds-1DEBIAN-CVE-2021-28021
Debian:14libstb0.0~git20220908.8b5f1f3+ds-1DEBIAN-CVE-2021-28021
Ubuntu:22.04:LTSlibstbno fix listedUBUNTU-CVE-2021-28021
Ubuntu:24.04:LTSlibstbno fix listedUBUNTU-CVE-2021-28021
Ubuntu:25.10libstbno fix listedUBUNTU-CVE-2021-28021
Ubuntu:26.04:LTSlibstbno fix listedUBUNTU-CVE-2021-28021
Ubuntu:26.10libstbno fix listedUBUNTU-CVE-2021-28021

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References