Out-of-bounds Read Affecting libsdl2-image package, versions <2.0.5+dfsg1-1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.93% (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-DEBIAN14-LIBSDL2IMAGE-11749148
  • published10 Aug 2025
  • disclosed20 May 2019

Introduced: 20 May 2019

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

How to fix?

Upgrade Debian:14 libsdl2-image to version 2.0.5+dfsg1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libsdl2-image package and not the libsdl2-image package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.