CVE-2019-5060

high

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.

References

https://talosintelligence.com/vulnerability_reports/TALOS-2019-0844

http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.html

http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html

http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.html

http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html

Details

Source: Mitre, NVD

Published: 2019-07-31

Updated: 2022-06-27

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High