{"id":"CVE-2019-5060","published":"2019-07-31T16:51:28Z","modified":"2024-08-04T19:47:55Z","title":"An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03969,"percentile":0.90712,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00030.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2019-0844","tags":["x_refsource_MISC"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":18.14},{"name":"CVSS severity","points":6.16}]},"affectedVersions":[{"vendor":"n/a","product":"SDL","versions":["SDL_image 2.0.4"]}],"summary":{"text":"The flaw is an integer overflow in the colorhash function of the XPM image rendering code in SDL2_image 2.0.4, which allocates a buffer that is too small and leads to a heap overflow. An attacker who can get a specially crafted XPM image displayed to a user (the attack vector is network-reachable and needs user interaction, with no authentication or special configuration required) can use the out-of-bounds write to execute code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:36:19Z"},"euvd":{"id":"EUVD-2019-14667","exploited":false,"provenance":"source"}}