Out-of-bounds Read Affecting simple_directmedia_layer package, versions [0,2.0.14)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (41st 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-SIMPLEDIRECTMEDIALAYER-2379510
  • published26 Jan 2022
  • disclosed19 Jan 2021
  • creditUnknown

Introduced: 19 Jan 2021

CVE-2020-14410  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade simple_directmedia_layer to version 2.0.14 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. SDL (Simple DirectMedia Layer) through 2.0.12 has a heap-based buffer over-read in Blit_3or4_to_3or4__inversed_rgb in video/SDL_blit_N.c via a crafted .BMP file.

CVSS Base Scores

version 3.1