CVE-2019-5051 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....
HighCVSS 8.8
EPSS 4.0%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
21 packages: 14 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libsdl2-image(Ubuntu 16.04) | = 2.0.0+dfsg-3build2; = 2.0.1+dfsg-1; = 2.0.1+dfsg-2; = 2.0.1+dfsg-2+deb9u1build0.16.04.1 +1 more | No fix listed | No fix yet |
| ubuntu/libsdl2-image(Ubuntu 18.04) | = 2.0.1+dfsg-3; = 2.0.1+dfsg-4; = 2.0.2+dfsg1-1; = 2.0.3+dfsg1-1 +1 more | No fix listed | No fix yet |
| alpine/sdl2_image(Alpine v3.10) | < 2.0.5-r0 | 2.0.5-r0 | Fixed |
| alpine/sdl2_image(Alpine v3.7) | < 2.0.5-r0 | 2.0.5-r0 | Fixed |
| alpine/sdl2_image(Alpine v3.8) | < 2.0.5-r0 | 2.0.5-r0 | Fixed |
| alpine/sdl2_image(Alpine v3.9) | < 2.0.5-r0 | 2.0.5-r0 | Fixed |
| debian/libsdl2-image(Debian 12) | < 2.0.5+dfsg1-1 | 2.0.5+dfsg1-1 | Fixed |
| debian/libsdl2-image(Debian 13) | < 2.0.5+dfsg1-1 | 2.0.5+dfsg1-1 | Fixed |
| debian/libsdl2-image(Debian 14) | < 2.0.5+dfsg1-1 | 2.0.5+dfsg1-1 | Fixed |
| debian/sdl-image1.2(Debian 12) | < 1.2.12-11 | 1.2.12-11 | Fixed |
| debian/sdl-image1.2(Debian 13) | < 1.2.12-11 | 1.2.12-11 | Fixed |
| debian/sdl-image1.2(Debian 14) | < 1.2.12-11 | 1.2.12-11 | Fixed |
| ubuntu/libsdl2-image(Ubuntu Pro 14.04) | < 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1; = 2.0.0+dfsg-2; = 2.0.0+dfsg-3; = 2.0.0+dfsg-3+deb8u1build0.14.04.1 +1 more | 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | Fixed |
| ubuntu/sdl-image1.2(Ubuntu 16.04) | < 1.2.12-5+deb9u1ubuntu0.16.04.1; = 1.2.12-5+deb9u1build0.16.04.1; = 1.2.12-5build2 | 1.2.12-5+deb9u1ubuntu0.16.04.1 | Fixed |
| ubuntu/sdl-image1.2(Ubuntu 18.04) | < 1.2.12-8ubuntu0.1; = 1.2.12-6; = 1.2.12-7; = 1.2.12-8 | 1.2.12-8ubuntu0.1 | Fixed |
| ubuntu/sdl-image1.2(Ubuntu Pro 14.04) | < 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1; = 1.2.12-4ubuntu1; = 1.2.12-5; = 1.2.12-5+deb9u1build0.14.04.1 +1 more | 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | Fixed |
| Canonical Ubuntu Linux | = 16.04; = 18.04 | No fix listed | Versions listed |
| debian linux | = 8.0 | No fix listed | Versions listed |
| libsdl sdl2 image | = 2.0.4 | No fix listed | Versions listed |
| openSUSE backports sle | = 15.0; = 15.0-sp1 | No fix listed | Versions listed |
| openSUSE leap | = 15.0; = 15.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libsdl2-image(Debian:12) | < 2.0.5+dfsg1-1 | 2.0.5+dfsg1-1 |
| debian/libsdl2-image(Debian:13) | < 2.0.5+dfsg1-1 | 2.0.5+dfsg1-1 |
| debian/libsdl2-image(Debian:14) | < 2.0.5+dfsg1-1 | 2.0.5+dfsg1-1 |
| debian/sdl-image1.2(Debian:12) | < 1.2.12-11 | 1.2.12-11 |
| debian/sdl-image1.2(Debian:13) | < 1.2.12-11 | 1.2.12-11 |
| debian/sdl-image1.2(Debian:14) | < 1.2.12-11 | 1.2.12-11 |
| libsdl sdl2 image | = 2.0.4 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| openSUSE backports sle | = 15.0 | No fix listed |
| openSUSE backports sle | = 15.0-sp1 | No fix listed |
| openSUSE leap | = 15.0 | No fix listed |
| openSUSE leap | = 15.1 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| alpine/sdl2_image(Alpine:v3.10) | < 2.0.5-r0 | 2.0.5-r0 |
| alpine/sdl2_image(Alpine:v3.7) | < 2.0.5-r0 | 2.0.5-r0 |
| alpine/sdl2_image(Alpine:v3.8) | < 2.0.5-r0 | 2.0.5-r0 |
| alpine/sdl2_image(Alpine:v3.9) | < 2.0.5-r0 | 2.0.5-r0 |
| ubuntu/libsdl2-image(Ubuntu:Pro:14.04) | < 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 |
| ubuntu/libsdl2-image(Ubuntu:Pro:14.04) | = 2.0.0+dfsg-2 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:Pro:14.04) | = 2.0.0+dfsg-3 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:Pro:14.04) | = 2.0.0+dfsg-3build2 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:Pro:14.04) | = 2.0.0+dfsg-3+deb8u1build0.14.04.1 | No fix listed |
| ubuntu/sdl-image1.2(Ubuntu:Pro:14.04) | < 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 |
| ubuntu/sdl-image1.2(Ubuntu:Pro:14.04) | = 1.2.12-4ubuntu1 | No fix listed |
Show 20 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/sdl-image1.2(Ubuntu:Pro:14.04) | = 1.2.12-5 | No fix listed |
| ubuntu/sdl-image1.2(Ubuntu:Pro:14.04) | = 1.2.12-5build2 | No fix listed |
| ubuntu/sdl-image1.2(Ubuntu:Pro:14.04) | = 1.2.12-5+deb9u1build0.14.04.1 | No fix listed |
| ubuntu/sdl-image1.2(Ubuntu:16.04) | < 1.2.12-5+deb9u1ubuntu0.16.04.1 | 1.2.12-5+deb9u1ubuntu0.16.04.1 |
| ubuntu/sdl-image1.2(Ubuntu:16.04) | = 1.2.12-5build2 | No fix listed |
| ubuntu/sdl-image1.2(Ubuntu:16.04) | = 1.2.12-5+deb9u1build0.16.04.1 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:16.04) | = 2.0.0+dfsg-3build2 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:16.04) | = 2.0.1+dfsg-1 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:16.04) | = 2.0.1+dfsg-2 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:16.04) | = 2.0.1+dfsg-2+deb9u1build0.16.04.1 | No fix listed |
| ubuntu/sdl-image1.2(Ubuntu:18.04) | < 1.2.12-8ubuntu0.1 | 1.2.12-8ubuntu0.1 |
| ubuntu/sdl-image1.2(Ubuntu:18.04) | = 1.2.12-6 | No fix listed |
| ubuntu/sdl-image1.2(Ubuntu:18.04) | = 1.2.12-7 | No fix listed |
| ubuntu/sdl-image1.2(Ubuntu:18.04) | = 1.2.12-8 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:18.04) | = 2.0.1+dfsg-3 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:18.04) | = 2.0.1+dfsg-4 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:18.04) | = 2.0.2+dfsg1-1 | No fix listed |
| ubuntu/libsdl2-image(Ubuntu:18.04) | = 2.0.3+dfsg1-1 | No fix listed |
References
- Debian Security Tracker CVE-2019-5051 vendor-advisory
- openSUSE-SU-2019:2070 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:2108 mailing-list third-party-advisory vendor-advisory
- [debian-lts-announce] 20190727 [SECURITY] [DLA 1865-1] sdl-image1.2 security update mailing-list third-party-advisory
- talosintelligence.com exploit issue-tracking third-party-advisory
- USN-4238-1 third-party-advisory vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking