CVE-2019-5051
published high CVSS 3.0 · 8.8SDL2_image: missing error handler when loading a PCX file can lead to a heap-based buffer overflow and potential code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Simple DirectMediaSimple DirectMedia Layer SDL2_image 2.0.4 | Affected | Not stated | talos |
| Alpine Linux | v3.10 | sdl2_image | Fixed | 2.0.5-r0 | Package fix record |
| Debian | jessie | libsdl2-image | Advisory build | 2.0.0+dfsg-3+deb8u2 | DLA-1861-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL2_image-2_0-0i586 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| Ubuntu | bionic | libsdl-image1.2 | Advisory build | 1.2.12-8ubuntu0.1 | USN-4238-1 |
| Alpine Linux | v3.7 | sdl2_image | Fixed | 2.0.5-r0 | Package fix record |
| Alpine Linux | v3.8 | sdl2_image | Fixed | 2.0.5-r0 | Package fix record |
| Alpine Linux | v3.9 | sdl2_image | Fixed | 2.0.5-r0 | Package fix record |
Show 31 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | jessie | sdl-image1.2 | Advisory build | 1.2.12-5+deb8u2 | DLA-1865-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL2_image-2_0-0x86_64 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL2_image-2_0-0-32bitx86_64 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL2_image-develi586 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL2_image-develx86_64 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL2_image-devel-32bitx86_64 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL2_image-2_0-0i586 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL2_image-2_0-0x86_64 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL2_image-2_0-0-32bitx86_64 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL2_image-develi586 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL2_image-develx86_64 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL2_image-devel-32bitx86_64 | Advisory build | 2.0.5-lp151.2.5.1 | OPENSUSE-SU-2019:2070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0aarch64 | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0ppc64le | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0s390x | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0x86_64 | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0-32bitaarch64 | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0-32bitppc64le | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0-32bits390x | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-2_0-0-32bitx86_64 | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-develaarch64 | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-develppc64le | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-devels390x | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-develx86_64 | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-devel-32bitaarch64 | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-devel-32bitppc64le | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-devel-32bits390x | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL2_image-devel-32bitx86_64 | Advisory build | 2.0.5-1.14 | OPENSUSE-SU-2024:10608-1 |
| Ubuntu | bionic | sdl-image1.2 | Advisory build | 1.2.12-8ubuntu0.1 | USN-4238-1 |
| Ubuntu | xenial | libsdl-image1.2 | Advisory build | 1.2.12-5+deb9u1ubuntu0.16.04.1 | USN-4238-1 |
| Ubuntu | xenial | sdl-image1.2 | Advisory build | 1.2.12-5+deb9u1ubuntu0.16.04.1 | USN-4238-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- talos · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Simple DirectMedia | Simple DirectMedia Layer SDL2_image 2.0.4 (affected) | talos · cna |
Weaknesses
1- CWE-390 CWE-390: Detection of Error Condition Without Action
References
5- openSUSE-SU-2019:2070 http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html
- openSUSE-SU-2019:2108 http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html
- [debian-lts-announce] 20190727 [SECURITY] [DLA 1865-1] sdl-image1.2 security update https://lists.debian.org/debian-lts-announce/2019/07/msg00026.html
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0820
- USN-4238-1 https://usn.ubuntu.com/4238-1/
Provider assertions
2talos · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b2de298ffa42ab06db519cf6acb491ed92c176569d77d3cc675a673a769710ff
- Ingested
- 23 Sep 2026, 07:47:16 UTC
- Source record
- Official CVE record