cve.bz

CVE-2019-12220 libsdl: Out-of-bounds Read

6.5 mediumExploit referenceEPSS 1.9%

Medium (6.5) in libsdl. EPSS 1.9% 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 out-of-bounds read in the SDL function SDL_FreePalette_REAL at video/SDL_pixels.c.

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 1.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
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-12220 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-12220?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-12220?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-12220 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-12220
Debian12, 13, 14sdl-image1.21.2.12-11DEBIAN-CVE-2019-12220
Ubuntu16.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.16.04.1UBUNTU-CVE-2019-12220 USN-4238-1
Ubuntu16.04:LTS, 18.04:LTSlibsdl2-imageno fix listedUBUNTU-CVE-2019-12220
Ubuntu18.04:LTSsdl-image1.21.2.12-8ubuntu0.1UBUNTU-CVE-2019-12220 USN-4238-1
UbuntuPro:14.04:LTSlibsdl2-image2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1UBUNTU-CVE-2019-12220
UbuntuPro:14.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.14.04.1~esm1UBUNTU-CVE-2019-12220
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

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

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-12220.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON