7.1 High
CVSS3
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
6.8 Medium
AI Score
Confidence
Low
0.001 Low
EPSS
Percentile
30.8%
libstb.so s vulnerable to Out-of-bounds Read. The vulnerability is due to an incorrect calculation of the two_back
pointer. This allows an attacker to exploit the out-of-bounds read with a crafted image file using memcpy
in stbi__gif_load_next
, This potentially leads to leaking internal memory allocation information.
CPE | Name | Operator | Version |
---|---|---|---|
libstb.so | eq | 0.0 | |
libstb.so | eq | 0.0 | |
stb:3.19 | eq | 0_git20220908-r3 | |
stb:edge | eq | 0_git20220908-r1 | |
stb:edge | eq | 0_git20220908-r3 | |
stb:edge | eq | 0_git20220908-r0 |
github.com/JarLob/stb/commit/8cfcbf7dde7705c849f4f7a5acb26f79b895fffe
github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6817
github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L7021-L7022
github.com/nothings/stb/issues/1538
lists.fedoraproject.org/archives/list/[email protected]/message/NMXKOKPP4BKTNUTF5KSRDQAWOUILQZNO/
lists.fedoraproject.org/archives/list/[email protected]/message/QVABVF4GEM6BYD5L4L64RCRSXUHY6LGN/
lists.fedoraproject.org/archives/list/[email protected]/message/UVQ7ONFH5GWLMXYEAJG32A3EUKUCEVCR/
securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/
securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/#issue-1-wild-address-read-in-stbi__gif_load_next-ghsl-2023-145
7.1 High
CVSS3
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
6.8 Medium
AI Score
Confidence
Low
0.001 Low
EPSS
Percentile
30.8%