7.1

CVE-2021-42716: fedoraproject fedora Classic Buffer Overflow

CVSS: 7.1v3.1HighModified
AliasesopenSUSE-SU-2022:0018-1UBUNTU-CVE-2021-42716DEBIAN-CVE-2021-42716
Published 21-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-42716 is a high (CVSS 7.1) Classic Buffer Overflow vulnerability in fedoraproject fedora. EPSS estimates a 1.46% chance of exploitation in the next 30 days, higher than 73.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
39/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v3.1 (NVD)
EPSS score
1.46%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 5 · Related 3

Timeline

  1. 21-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

An issue was discovered in stb stb_image.h 2.27. The PNM loader incorrectly interpreted 16-bit PGM files as 8-bit when converting to RGBA, leading to a buffer overflow when later reinterpreting the result as a 16-bit buffer. An attacker could potentially have crashed a service using stb_image, or read up to 1024 bytes of non-consecutive heap data without control over the read location.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.46%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

-0.01 pp

From 1.46% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.46%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Stb

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libstbAll versions (No fix recorded) | < 0.0~git20230129.5736b15+ds-1
Fedoraproject1 product
Nothings1 product
Opensuse1 product
  • stb&distro=openSUSE Leap 15.3< 2.32.1549563867.59e9702-bp153.2.3.1
Suse1 product
  • stb&distro=SUSE Package Hub 15 SP3< 2.32.1549563867.59e9702-bp153.2.3.1
Ubuntu1 product
  • libstbAll versions (No fix recorded)

6 vendors · 6 products

References

18 links
Show all 18 references