cve.bz

CVE-2019-12219 libsdl: Double Free

8.8 highExploit referenceEPSS 2.0%

High (8.8) in libsdl. EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
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 invalid free error in the SDL function SDL_SetError_REAL at SDL_error.c.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-12219 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-12219?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-12219?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-12219 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libsdl:sdl2_image2.0.4
libsdl:simple_directmedia_layer2.0.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libsdl2-image2.0.0+dfsg-3+deb8u2DLA-1861-1
Debian8sdl-image1.21.2.12-5+deb8u2DLA-1865-1
Debian12, 13, 14libsdl2-image2.0.5+dfsg1-1DEBIAN-CVE-2019-12219
Debian12, 13, 14sdl-image1.21.2.12-11DEBIAN-CVE-2019-12219
Ubuntu16.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.16.04.1UBUNTU-CVE-2019-12219 USN-4238-1
Ubuntu16.04:LTS, 18.04:LTSlibsdl2-imageno fix listedUBUNTU-CVE-2019-12219
Ubuntu18.04:LTSsdl-image1.21.2.12-8ubuntu0.1UBUNTU-CVE-2019-12219 USN-4238-1
UbuntuPro:14.04:LTSlibsdl2-image2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1UBUNTU-CVE-2019-12219
UbuntuPro:14.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.14.04.1~esm1UBUNTU-CVE-2019-12219
Alpinev3.7, v3.8, v3.9 and 1 moresdl2_image2.0.5-r0ALPINE-CVE-2019-12219

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue did not affect the versions of SDL as shipped with Red Hat Enterprise Linux 5, 6, 7, and 8 as they did not include SDL2_Image add-on.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5SDLNot affected
Red Hat Enterprise Linux 6SDLNot affected
Red Hat Enterprise Linux 7SDLNot affected
Red Hat Enterprise Linux 8SDLNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-12219.

References

Check your stackJSON