PT-2023-9365 · Stb Image+3 · Stb Image+3

Jarlob

+1

·

Published

2023-07-13

·

Updated

2024-09-13

·

CVE-2023-45662

CVSS v2.0

9.4

High

VectorAV:N/AC:L/Au:N/C:C/I:N/A:C
Name of the Vulnerable Software and Affected Versions stb image (affected versions not specified)
Description The issue is related to the stbi set flip vertically on load function in the stb image library. When this function is set to TRUE and req comp is set to a number that doesn’t match the real number of components per pixel, the library attempts to flip the image vertically. This can trigger an out-of-bounds read in memcpy because bytes per pixel used to calculate bytes per row doesn’t match the real image array dimensions. A crafted image file can exploit this, potentially allowing a remote attacker to access confidential data or cause a denial of service.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2023-7362
ALT-PU-2024-11393
BDU:2024-06920
CVE-2023-45662
OESA-2024-1230
OESA-2024-1231

Affected Products

Alt Linux
Astra Linux
Debian
Stb Image