PT-2023-9365

CVE-2023-45662

·

Published

2023-07-13

·

Updated

2026-10-31

Description by

CVSS 2.0
9.4
High
MetricsAV: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.
Exploitability
Exploit
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
ALT-PU-2023-7362
ALT-PU-2024-11393
CLEANSTART-2025-EP02512
OESA-2024-1230
OESA-2024-1231
Found an issue in the description? Have something to add? Feel free to write us 👾