Out-of-bounds Write Affecting sdl_image package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.3% (84th 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 IDSNYK-CONAN-SDLIMAGE-10078311
  • published8 May 2025
  • disclosed3 Jul 2019
  • creditUnknown

Introduced: 3 Jul 2019

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

How to fix?

There is no fixed version for sdl_image.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.

CVSS Base Scores

version 3.1