Out-of-bounds Write Affecting sdl2_image package, versions <2.0.1-r2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.34% (72nd 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-ALPINE35-SDL2IMAGE-1019701
  • published21 Oct 2020
  • disclosed11 Oct 2017

Introduced: 11 Oct 2017

CVE-2017-2887  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Alpine:3.5 sdl2_image to version 2.0.1-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sdl2_image package and not the sdl2_image package as distributed by Alpine. See How to fix? for Alpine:3.5 relevant fixed versions and status.

An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.

CVSS Scores

version 3.1