Integer Overflow or Wraparound Affecting sdl_image package, versions [,2.0.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.68% (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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SDLIMAGE-2379482
  • published26 Jan 2022
  • disclosed24 Apr 2018
  • creditUnknown

Introduced: 24 Apr 2018

CVE-2017-14441  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade sdl_image to version 2.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. An exploitable code execution vulnerability exists in the ICO image rendering functionality of SDL2_image-2.0.2. A specially crafted ICO image can cause an integer overflow, cascading to a heap overflow resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.

CVSS Base Scores

version 3.1