Out-of-bounds Write The advisory has been revoked - it doesn't affect any version of package sdl_image  (opens in a new tab)


Threat Intelligence

EPSS
0.99% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-SDLIMAGE-10078313
  • published8 May 2025
  • disclosed31 Jul 2019
  • creditUnknown

Introduced: 31 Jul 2019

CVE-2019-5058  (opens in a new tab)
CWE-787  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image 2.0.4. A specially crafted XCF image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.