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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.5% (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 IDSNYK-UNMANAGED-SDL2IMAGE-2379486
  • published26 Jan 2022
  • disclosed31 Jul 2019
  • creditUnknown

Introduced: 31 Jul 2019

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

How to fix?

There is no fixed version for sdl2_image.

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.

CVSS Scores

version 3.1