Integer overflow in Libsdl Sdl2 Image
CVE-2019-5052
An exploitable integer overflow vulnerability exists when loading a PCX file in SDL2_image 2.0.4. A specially crafted file can cause an integer overflow, resulting in too little memory being allocated, which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.045, 91.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libsdl Sdl2 Image — versions 2.0.4
- Canonical Ubuntu Linux — versions 16.04, 18.04
- Debian Linux — versions 8.0
- openSUSE Backports Sle — versions 15.0
- openSUSE Leap — versions 15.0, 15.1
- Simple Directmedia — versions Simple DirectMedia Layer SDL2_image 2.0.4
Weakness classification (CWE)
References
- [debian-lts-announce] 20190722 [SECURITY] [DLA 1861-1] libsdl2-image security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20190727 [SECURITY] [DLA 1865-1] sdl-image1.2 security update (mailing-list, Mailing List, Third Party Advisory)
- openSUSE-SU-2019:2070 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2019:2071 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2019:2109 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2019:2108 (vendor-advisory, Mailing List, Third Party Advisory)
- USN-4238-1 (vendor-advisory, Third Party Advisory)
- talosintelligence.com/vulnerability_reports/TALOS-2019-0821 (Exploit, Third Party Advisory)