cve.bz

CVE-2019-5057 Out-of-bounds Write

8.8 highEPSS 3.6%

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

On this page
An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.6% (unchanged from 3.6% a week ago; 3.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-122 Heap-based Buffer Overflow
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-5057 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-5057?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-5057?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-5057 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
opensuse:backports_sle15.0
opensuse:backports_sle15.0:sp1
opensuse:leap15.0
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libsdl2-image2.0.5+dfsg1-1DEBIAN-CVE-2019-5057
Debian12, 13, 14sdl-image1.21.2.12-11DEBIAN-CVE-2019-5057
Ubuntu16.04:LTS, 18.04:LTS, Pro:14.04:LTSlibsdl2-imageno fix listedUBUNTU-CVE-2019-5057
Ubuntu20.04:LTSlibsdl2-image2.0.5+dfsg1-1UBUNTU-CVE-2019-5057
SUSEPackage Hub 15, Package Hub 15 SP1SDL2_image2.0.5-bp151.4.3.1openSUSE-SU-2019:2108-1
SUSEPackage Hub 15, Package Hub 15 SP1SDL_image1.2.12+hg695-bp151.4.3.1openSUSE-SU-2019:2109-1
openSUSELeap 15.0, Leap 15.1SDL2_image2.0.5-lp151.2.5.1openSUSE-SU-2019:2070-1
openSUSELeap 15.0, Leap 15.1SDL_image1.2.12+hg695-lp151.3.3.1openSUSE-SU-2019:2071-1
Alpinev3.7, v3.8, v3.9 and 1 moresdl2_image2.0.5-r0ALPINE-CVE-2019-5057

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.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

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

References

Check your stackJSON