CVE-2023-45662

CVSS 3.1 Score 8.1 of 10 (high)

Details

Published Oct 21, 2023
Updated: Nov 4, 2023
CWE ID 125

Summary

CVE-2023-45662 is a vulnerability affecting the stb_image library, which is used for processing images. When the `stbi_set_flip_vertically_on_load` option is enabled and the `req_comp` parameter does not match the actual number of components per pixel, the library attempts to flip the image vertically. This can lead to an out-of-bounds read issue, as the calculation for `bytes_per_row` uses an incorrect value for `bytes_per_pixel`, which does not match the actual dimensions of the image array. A maliciously crafted image file can exploit this vulnerability to read memory outside of its intended boundaries.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share