CVE-2019-12220: Medium severity libSDL Sdl2 Image vulnerability

Published May 20, 2019
·
Updated

An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in conjunction with libSDL2image.a in SDL2image 2.0.4. There is an out-of-bounds read in the SDL function SDLFreePaletteREAL at video/SDLpixels.c.

Affected Software

4 affected componentsFixes available
All of the following
libSDL Sdl2 Image=2.0.4
libSDL Simple DirectMedia Layer=2.0.9
debian/libsdl2-image
2.0.5+dfsg1-22.6.3+dfsg-12.8.8+dfsg-12.8.8+dfsg-2
debian/sdl-image1.2
1.2.12-121.2.12-131.2.12-14

Event History

May 20, 2019
CVE Published
via MITRE·04:33 PM
Data Sourced
via MITRE·04:33 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·11:10 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·11:11 PM
DescriptionAffected Software
Data Sourced
via Launchpad·11:11 PM
Description

Frequently Asked Questions

1

What is CVE-2019-12220?

CVE-2019-12220 is a vulnerability in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used with libSDL2_image.a in SDL2_image 2.0.4, which allows for an out-of-bounds read in the SDL function SDL_FreePalette_REAL at video/SDL_pixels.c.

2

What is the severity of CVE-2019-12220?

The severity of CVE-2019-12220 is medium, with a severity value of 6.5.

3

What software is affected by CVE-2019-12220?

The software affected by CVE-2019-12220 is libsdl:sdl2_image 2.0.4 and libsdl:simple_directmedia_layer 2.0.9.

4

How can I fix CVE-2019-12220 in libsdl2-image?

To fix CVE-2019-12220 in libsdl2-image, update to versions 2.0.4+dfsg1-1+deb10u1, 2.0.5+dfsg1-2, 2.6.3+dfsg-1, or 2.6.3+dfsg-2.

5

How can I fix CVE-2019-12220 in sdl-image1.2?

To fix CVE-2019-12220 in sdl-image1.2, update to versions 1.2.12-10+deb10u1, 1.2.12-12, or 1.2.12-13.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203