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
2.67% (85th 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-10078296
  • published8 May 2025
  • disclosed10 Apr 2018
  • creditUnknown

Introduced: 10 Apr 2018

CVE-2018-3839  (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 Simple DirectMedia Layer SDL2_image-2.0.2. A specially crafted XCF image can cause an out-of-bounds write on the heap, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.