CVE-2019-12220 json
An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.…
published 2019-05-20 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-3865
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4. There is an out-of-bounds read in the SDL function SDL_FreePalette_REAL at video/SDL_pixels.c.
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-12220
- 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-12220
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
- SDL2_image Package Hub 15 SP1, Package Hub 15 2.0.5-bp151.4.3.1
- SDL2_image openSUSE Leap 15.1, openSUSE Leap 15.0 2.0.5-lp151.2.5.1
opensuse advisories openSUSE-SU-2019:2108-1openSUSE-SU-2019:2070-1
Vendor 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-12220 updated cvss 7.3
SDL: out-of-bounds read in function SDL_FreePalette_REAL in video/SDL_pixels.c
-
Red Hat Enterprise Linux 5 SDL Red Hat Enterprise Linux 6 SDL Red Hat Enterprise Linux 7 SDL Red Hat Enterprise Linux 8 SDLnot 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
1.87% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.libsdl.org https://bugzilla.libsdl.org/show_bug.cgi?id=4627 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
bugzilla.libsdl.org
/show_bug.cgi?id=4627
exploit, issue-tracking, vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-09/msg00012.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-09/msg00029.html
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/WJ2VRD57UOBT72JUC2DIFHEFCH4N64SW/
vendor-advisory
-
usn.ubuntu.com
/4238-1/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/GY6FDFPYUJ7YPY3XB5U75VJHBSVRVIKO/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2019/07/msg00021.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2019/07/msg00026.html
mailing-list
Sources
- CVE List CVE-2019-12220
- NVD CVE-2019-12220
Fencer Vulns 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.