VDB

CVE-2021-42716

CVE-2021-42716 PUBLISHED CVSS 7.099999904632568 HIGH

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.

EPSS 0.25% · 48.7th percentile

Risk Scores

CVSS 3.1
7.099999904632568
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS Score
0.25%
48.7th percentile

Affected Products

VendorProductVersions
n/an/an/a
fedoraprojectfedora34, 35, 33
nothingsstb_image.h2.27

Timeline

  • Oct 21, 2021 CVE Published
  • Oct 22, 2021 EPSS Score
  • Oct 31, 2021 EPSS Score
  • Dec 17, 2021 EPSS Score
  • Feb 4, 2022 EPSS Score
  • Feb 11, 2022 EPSS Score
  • Apr 1, 2022 EPSS Score
  • Apr 9, 2022 EPSS Score
  • Jun 4, 2022 EPSS Score
  • Jul 31, 2022 EPSS Score
  • Nov 20, 2022 EPSS Score
  • Jan 16, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›