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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (32nd 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-2379504
  • published26 Jan 2022
  • disclosed19 Jan 2021
  • creditUnknown

Introduced: 19 Jan 2021

CVE-2020-14409  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (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 Write. SDL (Simple DirectMedia Layer) through 2.0.12 has an Integer Overflow (and resultant SDL_memcpy heap corruption) in SDL_BlitCopy in video/SDL_blit_copy.c via a crafted .BMP file.

CVSS Base Scores

version 3.1