Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-28021

stb: buffer overflow in stbi__extend_receive() in stb_image.h via a crafted JPEG file

Overview

Published
15 Oct 2021
Modified
17 Jun 2026
High CVE
1 Registry packages
4 OS packages
4 Linux distributions
Yes Fix available

Description

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

Source: OX vulnerability database

Severity

7.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-787

Affected packages · 1

Packages affected by CVE-2021-28021
EcosystemPackageVulnerableFixed in
Conan (C/C++) stb =cci.20200203 cci.20210713

Open a package to see all its vulnerabilities.

Operating systems · 8 fixes

SUSE Linux Enterprise 1 release · 1 package

fixed 1
libzxing1
SUSE Linux Enterprise fixes for CVE-2021-28021
ReleasePackageFixed inAdvisory
12.5 libzxing1 +1 1.2.0-8.6.1 SUSE-SU-2022:0163-1

debian 5 releases · 1 package

fixed 5
libstb
debian fixes for CVE-2021-28021
ReleasePackageFixed in
10 libstb 0.0~git20180212.15.e6afb9c-1+deb10u1
11 libstb 0.0~git20200713.b42009b+ds-1+deb11u1
12 libstb 0.0~git20220908.8b5f1f3+ds-1
13 libstb 0.0~git20220908.8b5f1f3+ds-1
14 libstb 0.0~git20220908.8b5f1f3+ds-1

echo 1 release · 1 package

fixed 1
libstb
echo fixes for CVE-2021-28021
ReleasePackageFixed in
libstb 0.0~git20220908.8b5f1f3+ds-1

openSUSE 1 release · 1 package

fixed 1
libzxing1
openSUSE fixes for CVE-2021-28021
ReleasePackageFixed inAdvisory
Tumbleweed libzxing1 +2 1.2.0-2.1 openSUSE-SU-2024:11686-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.