Out-of-bounds Read Affecting simple_directmedia_layer package, versions [,1.2.15.post1)[2.0.0,2.0.10)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.65% (80th 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-2379508
  • published26 Jan 2022
  • disclosed8 Feb 2019
  • creditUnknown

Introduced: 8 Feb 2019

CVE-2019-7638  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade simple_directmedia_layer to version 1.2.15.post1, 2.0.10 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based buffer over-read in Map1toN in video/SDL_pixels.c.

CVSS Scores

version 3.1