CVE-2019-12220: libsdl sdl2_image Out-of-bounds Read
Vulnerability summary
CVE-2019-12220 is a medium (CVSS 6.5) Out-of-bounds Read vulnerability in libsdl sdl2_image. EPSS estimates a 1.87% chance of exploitation in the next 30 days, higher than 80% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 4Timeline
- 20-05-2019PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.87%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.87% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugzilla.libsdl.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- libsdl2-image< 2.0.5+dfsg1-1
- sdl-image1.2< 1.2.12-11
Libsdl2 products
- sdl2_image2.0.4
- simple_directmedia_layer2.0.9
Ubuntu2 products
- libsdl2-imageAll versions (No fix recorded) | < 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | < 2.0.1+dfsg-2+deb9u1ubuntu0.1~esm1 | < 2.0.3+dfsg1-1ubuntu0.1~esm1
- sdl-image1.2< 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | < 1.2.12-5+deb9u1ubuntu0.16.04.1 | < 1.2.12-8ubuntu0.1
3 vendors · 6 products