Bug 1732260 (CVE-2019-12220) - CVE-2019-12220 SDL: out-of-bounds read in function SDL_FreePalette_REAL in video/SDL_pixels.c
Summary: CVE-2019-12220 SDL: out-of-bounds read in function SDL_FreePalette_REAL in vi...
Alias: CVE-2019-12220
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1732261 1752625 1752626 1752627 1752628
Blocks: 1732266
TreeView+ depends on / blocked
Reported: 2019-07-23 05:44 UTC by Dhananjay Arunesh
Modified: 2021-02-16 21:37 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-09-20 18:45:44 UTC

Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-07-23 05:44:10 UTC
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 an out-of-bounds read in the SDL function SDL_FreePalette_REAL at video/SDL_pixels.c.


Comment 1 Dhananjay Arunesh 2019-07-23 05:44:24 UTC
Created SDL tracking bugs for this issue:

Affects: fedora-all [bug 1732261]

Comment 2 Dhananjay Arunesh 2019-09-16 18:25:36 UTC
Created SDL2 tracking bugs for this issue:

Affects: epel-7 [bug 1752627]
Affects: fedora-all [bug 1752625]

Created mingw-SDL2 tracking bugs for this issue:

Affects: epel-7 [bug 1752628]
Affects: fedora-all [bug 1752626]

Comment 3 Riccardo Schirone 2019-09-20 13:58:46 UTC
Upstream patch:

this is the same patch as CVE-2019-12222.

Comment 4 Riccardo Schirone 2019-09-20 13:59:53 UTC

This issue did not affect the versions of SDL as shipped with Red Hat Enterprise Linux 5, 6, 7, and 8 as they did not include SDL2_Image add-on.

Comment 5 Product Security DevOps Team 2019-09-20 18:45:44 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Note You need to log in before you can comment on or make changes to this bug.