NULL Pointer Dereference Affecting sdl2_image package, versions <2.0.5-r0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
2.27% (83rd 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-ALPINE37-SDL2IMAGE-484612
  • published20 May 2019
  • disclosed20 May 2019

Introduced: 20 May 2019

CVE-2019-12217  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Alpine:3.7 sdl2_image to version 2.0.5-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sdl2_image package and not the sdl2_image package as distributed by Alpine. See How to fix? for Alpine:3.7 relevant fixed versions and status.

An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4. There is a NULL pointer dereference in the SDL stdio_read function in file/SDL_rwops.c.