8.8
CWE
787 119
Advisory Published
Updated

CVE-2018-3977: Buffer Overflow

First published: Thu Nov 01 2018(Updated: )

An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.3. A specially crafted XCF image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.

Credit: talos-cna@cisco.com talos-cna@cisco.com

Affected SoftwareAffected VersionHow to fix
Libsdl Sdl Image=2.0.3
debian/libsdl2-image
2.0.5+dfsg1-2
2.6.3+dfsg-1
2.8.4+dfsg-1
debian/sdl-image1.2
1.2.12-12
1.2.12-13
1.2.12-14

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-2018-3977?

    CVE-2018-3977 is an exploitable code execution vulnerability in the XCF image rendering functionality of SDL2_image-2.0.3.

  • How does CVE-2018-3977 work?

    A specially crafted XCF image can cause a heap overflow, resulting in code execution.

  • What is the severity of CVE-2018-3977?

    CVE-2018-3977 has a severity value of 8.8 (high).

  • Which software versions are affected by CVE-2018-3977?

    SDL2_image-2.0.0+dfsg-3+ up to exclusive SDL2_image-2.0.3+dfsg1-3 are affected.

  • How can I fix CVE-2018-3977?

    To fix CVE-2018-3977, upgrade to SDL2_image version 2.0.0+dfsg-3+ (for Ubuntu) or version 2.0.4+dfsg1-1+deb10u1 (for Debian).

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203