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.
Published: 2019-07-31
Score: 8.8 High
EPSS: 1.3% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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.

Subscriptions

Libsdl Sdl2 Image
Opensuse Backports Sle Leap
cve-icon MITRE

Status: PUBLISHED

Assigner: talos

Published:

Updated: 2024-08-04T19:47:55.654Z

Reserved: 2019-01-04T00:00:00.000Z

Link: CVE-2019-5060

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-07-31T17:15:11.857

Modified: 2024-11-21T04:44:16.233

Link: CVE-2019-5060

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses