CVE-2019-5052
published high CVSS 3.0 · 8.8SDL2_image: specially crafted file can cause an integer overflow which 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 59 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.0 | libSDL_image-1_2-0i586 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL_image-1_2-0x86_64 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL_image-1_2-0-32bitx86_64 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL_image-develi586 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL_image-develx86_64 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libSDL_image-devel-32bitx86_64 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-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-Leap-15.1 | libSDL_image-1_2-0i586 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL_image-1_2-0x86_64 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL_image-1_2-0-32bitx86_64 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL_image-develi586 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL_image-develx86_64 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libSDL_image-devel-32bitx86_64 | Advisory build | 1.2.12+hg695-lp151.3.3.1 | OPENSUSE-SU-2019:2071-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 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-1_2-0aarch64 | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-1_2-0ppc64le | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-1_2-0s390x | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-1_2-0x86_64 | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-1_2-0-32bitaarch64 | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-1_2-0-32bitppc64le | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-1_2-0-32bits390x | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-1_2-0-32bitx86_64 | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-develaarch64 | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-develppc64le | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-devels390x | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-develx86_64 | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-devel-32bitaarch64 | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-devel-32bitppc64le | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-devel-32bits390x | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libSDL_image-devel-32bitx86_64 | Advisory build | 1.2.12+hg695-1.12 | OPENSUSE-SU-2024:10609-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 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.
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-190 CWE-190: Integer Overflow or Wraparound
References
8- openSUSE-SU-2019:2070 http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html
- openSUSE-SU-2019:2071 http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.html
- openSUSE-SU-2019:2108 http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html
- openSUSE-SU-2019:2109 http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.html
- [debian-lts-announce] 20190722 [SECURITY] [DLA 1861-1] libsdl2-image security update https://lists.debian.org/debian-lts-announce/2019/07/msg00021.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-0821
- 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
- a7ab5719179feac1aeb41d0f43837e549a1217acce0285bb5916bd669c246de5
- Ingested
- 23 Sep 2026, 07:47:16 UTC
- Source record
- Official CVE record