8.8
CWE
119 755 787 390
Advisory Published
Updated

CVE-2019-5051: Buffer Overflow

First published: Wed Jul 03 2019(Updated: )

An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.

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

Affected SoftwareAffected VersionHow to fix
Libsdl Sdl2 Image=2.0.4
Debian Debian Linux=8.0
openSUSE Backports SLE=15.0
openSUSE Backports SLE=15.0-sp1
openSUSE Leap=15.0
openSUSE Leap=15.1
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
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-2019-5051?

    CVE-2019-5051 is an exploitable heap-based buffer overflow vulnerability that exists when loading a PCX file in SDL2_image, version 2.0.4.

  • How can an attacker exploit CVE-2019-5051?

    An attacker can exploit CVE-2019-5051 by providing a specially crafted PCX image file to trigger the buffer overflow and potentially execute code.

  • What is the severity of CVE-2019-5051?

    CVE-2019-5051 has a severity rating of 8.8 (high).

  • Which software versions are affected by CVE-2019-5051?

    SDL2_image version 2.0.4 is affected by CVE-2019-5051.

  • How do I fix CVE-2019-5051?

    To fix CVE-2019-5051, upgrade to SDL2_image version 2.0.5+dfsg1-1 or higher.

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