CVE-2019-5060

Published Jul 31, 2019 CVSS 3.1 · 8.8 High EPSS 4.0% KEV · Not listed
Description
An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, allocating too small of a buffer. This buffer can then be written out of bounds, resulting in a heap overflow, ultimately ending in code execution. An attacker can display a specially crafted image to trigger this vulnerability.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2019-14667 An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, allocating too small of a buffer. This buffer can then be written out of bounds, resulting in a heap overflow, ultimately ending in code execution. An attacker can display a specially crafted image to trigger this vulnerability.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
talos
Published
Updated
Aug 4, 2024, 7:47 PM
Reserved
Jan 4, 2019, 12:00 AM
Status
Modified
Published
Jul 31, 2019, 5:15 PM
Modified
Jun 17, 2026, 2:37 AM