CVE-2019-12218: libsdl sdl2_image NULL Pointer Dereference
Vulnerability summary
CVE-2019-12218 is a medium (CVSS 6.5) NULL Pointer Dereference vulnerability in libsdl sdl2_image. EPSS estimates a 1.96% chance of exploitation in the next 30 days, higher than 81% 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 a NULL pointer dereference in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- 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.96%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.96% 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
Alpine1 product
- sdl2_image< 2.0.5-r0
4 vendors · 7 products