CVE-2019-5052 json
An exploitable integer overflow vulnerability exists when loading a PCX file in SDL2_image 2.0.4.
published 7y ago modified 4mo ago also EUVD-2019-14659
- cvss
- 8.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- sdl-image1.2 Debian 14, Debian 13, Debian 12 1.2.12-11
- libsdl2-image Debian 14, Debian 13, Debian 12 2.0.5+dfsg1-1
debian advisories DEBIAN-CVE-2019-5052
- sdl-image1.2 Ubuntu 16.04 LTS 1.2.12-5+deb9u1ubuntu0.16.04.1
- sdl-image1.2 Ubuntu 18.04 LTS 1.2.12-8ubuntu0.1
- sdl-image1.2 Ubuntu Pro 14.04 LTS 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1
- libsdl2-image Ubuntu Pro 14.04 LTS 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1
ubuntu advisories UBUNTU-CVE-2019-5052
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- SDL_image Package Hub 15 SP1, Package Hub 15 1.2.12+hg695-bp151.4.3.1
- SDL2_image Package Hub 15 SP1, Package Hub 15 2.0.5-bp151.4.3.1
- SDL_image openSUSE Leap 15.1, openSUSE Leap 15.0 1.2.12+hg695-lp151.3.3.1
- SDL2_image openSUSE Leap 15.1, openSUSE Leap 15.0 2.0.5-lp151.2.5.1
opensuse advisories openSUSE-SU-2019:2109-1openSUSE-SU-2019:2108-1openSUSE-SU-2019:2071-1openSUSE-SU-2019:2070-1
- sdl2_image Alpine 3.10, Alpine 3.9, Alpine 3.8 +1 more 2.0.5-r0
alpine advisories ALPINE-CVE-2019-5052
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2019-5052 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-5052 updated cvss 8.8
SDL2_image: specially crafted file can cause an integer overflow which can lead to a heap-based buffer overflow and potential code execution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.52% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- talosintelligence.com https://talosintelligence.com/vulnerability_reports/TALOS-2019-0821 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- n/a Simple DirectMedia
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
talosintelligence.com
/vulnerability_reports/TALOS-2019-0821
exploit, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-09/msg00012.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-09/msg00014.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-09/msg00030.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-09/msg00029.html
vendor-advisory, mailing-list, third-party-advisory
-
usn.ubuntu.com
/4238-1/
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/07/msg00021.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/07/msg00026.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-5052
- NVD CVE-2019-5052
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.