CVE-2019-5051: Buffer Overflow
An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2image, 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libsdl2-imageto a version that resolves this vulnerability.Fixed in 2.0.5+dfsg1-2Fixed in 2.6.3+dfsg-1Fixed in 2.8.8+dfsg-1Fixed in 2.8.8+dfsg-2 - Upgrade
Upgrade
debian/sdl-image1.2to a version that resolves this vulnerability.Fixed in 1.2.12-12Fixed in 1.2.12-13Fixed in 1.2.12-14
Event History
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.