CVE-2021-42716
Detail
Modified
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:M/Au:N/C:P/I:N/A:P)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
URL
Source(s)
Tag(s)
https://github.com/nothings/stb/issues/1166
CVE, MITRE
Exploit
Issue Tracking
Third Party Advisory
https://github.com/nothings/stb/issues/1225
CVE, MITRE
Exploit
Issue Tracking
Third Party Advisory
https://github.com/nothings/stb/pull/1223
CVE, MITRE
Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/
CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/
CVE, MITRE
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-120
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
NIST
Change History
13 change records found show changes
CVE Modified by CVE 11/21/2024 1:28:01 AM
Action
Type
Old Value
New Value
Added
Reference
https://github.com/nothings/stb/issues/1166
Added
Reference
https://github.com/nothings/stb/issues/1225
Added
Reference
https://github.com/nothings/stb/pull/1223
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/
CVE Modified by MITRE 5/14/2024 5:30:52 AM
Action
Type
Old Value
New Value
CVE Modified by MITRE 11/06/2023 10:39:13 PM
Action
Type
Old Value
New Value
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/ [No types assigned]
Added
Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/ [No types assigned]
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/
Removed
Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected] /message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/
Modified Analysis by NIST 5/13/2022 1:25:09 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Removed
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Added
CVSS V2
NIST (AV:N/AC:M/Au:N/C:P/I:N/A:P)
Removed
CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:N/A:P)
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/ Mailing List, Third Party Advisory
Added
CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism
CVE Modified by MITRE 4/29/2022 5:15:08 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/ [No Types Assigned]
Modified Analysis by NIST 11/26/2021 3:59:36 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/ Mailing List, Third Party Advisory
CVE Modified by MITRE 11/17/2021 5:19:43 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/ [No Types Assigned]
CVE Modified by MITRE 11/09/2021 8:19:53 PM
Action
Type
Old Value
New Value
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/ [No Types Assigned]
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/ [No Types Assigned]
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/ [No Types Assigned]
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/ [No Types Assigned]
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/ [No Types Assigned]
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/ [No Types Assigned]
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/ [No Types Assigned]
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/ [No Types Assigned]
CVE Modified by MITRE 11/03/2021 12:15:09 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/ [No Types Assigned]
CVE Modified by MITRE 11/02/2021 12:15:09 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/ [No Types Assigned]
CVE Modified by MITRE 11/01/2021 2:15:07 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/ [No Types Assigned]
CVE Modified by MITRE 10/30/2021 11:15:08 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/ [No Types Assigned]
Initial Analysis by NIST 10/27/2021 6:34:52 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Added
CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:N/A:P)
Added
CWE
NIST CWE-120
Added
CPE Configuration
OR
*cpe:2.3:a:nothings:stb_image.h:2.27:*:*:*:*:*:*:*
Changed
Reference Type
https://github.com/nothings/stb/issues/1166 No Types Assigned
https://github.com/nothings/stb/issues/1166 Exploit, Issue Tracking, Third Party Advisory
Changed
Reference Type
https://github.com/nothings/stb/issues/1225 No Types Assigned
https://github.com/nothings/stb/issues/1225 Exploit, Issue Tracking, Third Party Advisory
Changed
Reference Type
https://github.com/nothings/stb/pull/1223 No Types Assigned
https://github.com/nothings/stb/pull/1223 Third Party Advisory
Quick Info
CVE Dictionary Entry: CVE-2021-42716 NVD
Published Date: 10/21/2021 NVD
Last Modified: 11/21/2024
Source: MITRE