7.1
CWE
125
Advisory Published
Updated

CVE-2023-45661: Wild address read in stbi__gif_load_next in stb_image

First published: Fri Oct 20 2023(Updated: )

stb_image is a single file MIT licensed library for processing images. A crafted image file may trigger out of bounds memcpy read in `stbi__gif_load_next`. This happens because two_back points to a memory address lower than the start of the buffer out. This issue may be used to leak internal memory allocation information.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Nothings Stb Image.h=2.28

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-45661?

    CVE-2023-45661 is a vulnerability in the stb_image library that allows an attacker to trigger a memory read out of bounds in the stbi__gif_load_next function.

  • What is the severity of CVE-2023-45661?

    CVE-2023-45661 has a severity rating of 7.1 (high).

  • How does CVE-2023-45661 occur?

    CVE-2023-45661 occurs because the two_back pointer points to a memory address lower than the start of the buffer out in the stbi__gif_load_next function.

  • Which software versions are affected by CVE-2023-45661?

    The stb_image library versions 2.28 are affected by CVE-2023-45661.

  • Is there a fix for CVE-2023-45661?

    Yes, a fix for CVE-2023-45661 is available. Please refer to the provided references for more information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203