cve.bz

CVE-2019-12216 Out-of-bounds Write

6.5 mediumExploit referenceEPSS 2.2%

Medium (6.5). EPSS 2.2% 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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.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.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd 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-12216 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-12216?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-12216?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-12216 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
debian:debian_linux8.0
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04

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-12216
Debian12, 13, 14sdl-image1.21.2.12-11DEBIAN-CVE-2019-12216
Ubuntu16.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.16.04.1UBUNTU-CVE-2019-12216 USN-4238-1
Ubuntu16.04:LTS, 18.04:LTSlibsdl2-imageno fix listedUBUNTU-CVE-2019-12216
Ubuntu18.04:LTSsdl-image1.21.2.12-8ubuntu0.1UBUNTU-CVE-2019-12216 USN-4238-1
UbuntuPro:14.04:LTSlibsdl2-image2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1UBUNTU-CVE-2019-12216
UbuntuPro:14.04:LTSsdl-image1.21.2.12-5+deb9u1ubuntu0.14.04.1~esm1UBUNTU-CVE-2019-12216

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

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

References

Check your stackJSON