Lucene search

K
debiancveDebian Security Bug TrackerDEBIANCVE:CVE-2021-42716
HistoryOct 21, 2021 - 7:15 p.m.

CVE-2021-42716

2021-10-2119:15:08
Debian Security Bug Tracker
security-tracker.debian.org
15
stb_image.h
pnm loader
buffer overflow
16-bit pgm files
rgba
heap data
unix

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:N/A:P

CVSS3

7.1

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

HIGH

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

EPSS

0.002

Percentile

59.0%

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.

OSVersionArchitecturePackageVersionFilename
Debian12alllibstb<= 0.0~git20220908.8b5f1f3+ds-1libstb_0.0~git20220908.8b5f1f3+ds-1_all.deb
Debian11alllibstb< 0.0~git20200713.b42009b+ds-1libstb_0.0~git20200713.b42009b+ds-1_all.deb
Debian999alllibstb< 0.0~git20230129.5736b15+ds-1libstb_0.0~git20230129.5736b15+ds-1_all.deb
Debian13alllibstb< 0.0~git20230129.5736b15+ds-1libstb_0.0~git20230129.5736b15+ds-1_all.deb

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:N/A:P

CVSS3

7.1

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

HIGH

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

EPSS

0.002

Percentile

59.0%