cve.bz

CVE-2019-12221 Out-of-bounds Write

6.5 mediumExploit referenceEPSS 2.0%

Medium (6.5). 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 a SEGV in the SDL function SDL_free_REAL at stdlib/SDL_malloc.c.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/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-787 Out-of-bounds Write
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-12221 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-12221?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-12221?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-12221 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
fedoraproject:fedora29
fedoraproject:fedora31
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
opensuse:backports_sle15.0
opensuse:backports_sle15.0:sp1
opensuse:leap15.0
opensuse:leap15.1
debian:debian_linux8.0

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-12221
Debian12, 13, 14sdl-image1.21.2.12-11DEBIAN-CVE-2019-12221
Ubuntu16.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.16.04.1UBUNTU-CVE-2019-12221 USN-4238-1
Ubuntu16.04:LTS, 18.04:LTSlibsdl2-imageno fix listedUBUNTU-CVE-2019-12221
Ubuntu18.04:LTSsdl-image1.21.2.12-8ubuntu0.1UBUNTU-CVE-2019-12221 USN-4238-1
UbuntuPro:14.04:LTSlibsdl2-image2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1UBUNTU-CVE-2019-12221
UbuntuPro:14.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.14.04.1~esm1UBUNTU-CVE-2019-12221
SUSEPackage Hub 15, Package Hub 15 SP1SDL2_image2.0.5-bp151.4.3.1openSUSE-SU-2019:2108-1
openSUSELeap 15.0, Leap 15.1SDL2_image2.0.5-lp151.2.5.1openSUSE-SU-2019:2070-1
Alpinev3.7, v3.8, v3.9 and 1 moresdl2_image2.0.5-r0ALPINE-CVE-2019-12221

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 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 · SUSE · openSUSE · 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-12221.

References

Check your stackJSON