Out-of-bounds Write Affecting libsdl2-image package, versions <2.0.5+dfsg1-1


Severity

Recommended
medium

Based on Ubuntu security rating.

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-UBUNTU2104-LIBSDL2IMAGE-1263276
  • published4 Aug 2019
  • disclosed31 Jul 2019

Introduced: 31 Jul 2019

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

How to fix?

Upgrade Ubuntu:21.04 libsdl2-image to version 2.0.5+dfsg1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libsdl2-image package and not the libsdl2-image package as distributed by Ubuntu. See How to fix? for Ubuntu:21.04 relevant fixed versions and status.

An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX 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