Security mailing lists by PureSourceCode

CVE-2019-5060

HIGH 8.8CVSS 3.1

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
31 Jul 2019
Last modified
17 Jun 2026
Assigned by
talos-cna@cisco.com
NVD status
Modified
Weakness
CWE-190
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD talos-cna@cisco.com (Secondary) CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libsdl sdl2_image
cpe:2.3:a:libsdl:sdl2_image:2.0.4:*:*:*:*:*:*:*
= 2.0.4
NVD opensuse backports_sle
cpe:2.3:a:opensuse:backports_sle:15.0:-:*:*:*:*:*:*
= 15.0
NVD opensuse backports_sle
cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*
= 15.0
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
= 15.0
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
= 15.1

References

History

  • 25 Nov 2026 20:22 UTC · NVD: first stored (published 31 Jul 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.