
CVE catalog
CVE-2019-12220
libsdl2-image: CVE-2019-12220
- Severity
- Medium · CVSS 6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.87% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | sdl-image1.2 | sid | 1.2.12-14 | fixed |
| Debian | sdl-image1.2 | forky | 1.2.12-14 | fixed |
| Debian | sdl-image1.2 | trixie | 1.2.12-14 | fixed |
| Debian | sdl-image1.2 | bookworm | 1.2.12-13 | fixed |
| Debian | libsdl2-image | sid | 2.8.12+dfsg-2 | fixed |
| Debian | libsdl2-image | forky | 2.8.12+dfsg-2 | fixed |
| Debian | libsdl2-image | trixie | 2.8.8+dfsg-1+deb13u1 | fixed |
| Debian | libsdl2-image | bookworm | 2.6.3+dfsg-1 | fixed |
| Ubuntu | libsdl2-image | pro | 2.0.0+dfsg-2 | vulnerable |
| Ubuntu | libsdl2-image | pro | 2.0.0+dfsg-3 | vulnerable |
| Ubuntu | libsdl2-image | pro | 2.0.0+dfsg-3build2 | vulnerable |
| Ubuntu | libsdl2-image | pro | 2.0.0+dfsg-3+deb8u1build0.14.04.1 | vulnerable |
| Ubuntu | libsdl2-image | pro | 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | fixed |
| Ubuntu | sdl-image1.2 | pro | 1.2.12-4ubuntu1 | vulnerable |
| Ubuntu | sdl-image1.2 | pro | 1.2.12-5 | vulnerable |
| Ubuntu | sdl-image1.2 | pro | 1.2.12-5build2 | vulnerable |
| Ubuntu | sdl-image1.2 | pro | 1.2.12-5+deb9u1build0.14.04.1 | vulnerable |
| Ubuntu | sdl-image1.2 | pro | 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | fixed |
| Ubuntu | sdl-image1.2 | 16.04 | 1.2.12-5build2 | vulnerable |
| Ubuntu | sdl-image1.2 | 16.04 | 1.2.12-5+deb9u1build0.16.04.1 | vulnerable |
| Ubuntu | sdl-image1.2 | 16.04 | 1.2.12-5+deb9u1ubuntu0.16.04.1 | fixed |
| Ubuntu | libsdl2-image | 16.04 | 2.0.0+dfsg-3build2 | vulnerable |
| Ubuntu | libsdl2-image | 16.04 | 2.0.1+dfsg-1 | vulnerable |
| Ubuntu | libsdl2-image | 16.04 | 2.0.1+dfsg-2 | vulnerable |
| Ubuntu | libsdl2-image | 16.04 | 2.0.1+dfsg-2+deb9u1build0.16.04.1 | vulnerable |
| Ubuntu | sdl-image1.2 | 18.04 | 1.2.12-6 | vulnerable |
| Ubuntu | sdl-image1.2 | 18.04 | 1.2.12-7 | vulnerable |
| Ubuntu | sdl-image1.2 | 18.04 | 1.2.12-8 | vulnerable |
| Ubuntu | sdl-image1.2 | 18.04 | 1.2.12-8ubuntu0.1 | fixed |
| Ubuntu | libsdl2-image | 18.04 | 2.0.1+dfsg-3 | vulnerable |
| Ubuntu | libsdl2-image | 18.04 | 2.0.1+dfsg-4 | vulnerable |
| Ubuntu | libsdl2-image | 18.04 | 2.0.2+dfsg1-1 | vulnerable |
| Ubuntu | libsdl2-image | 18.04 | 2.0.3+dfsg1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sdl-image1.2 | source | sid | 1.2.12-11 | not yet assigned | Not reported | [932755] |
| Debian | sdl-image1.2 | source | forky | 1.2.12-11 | not yet assigned | Not reported | [932755] |
| Debian | sdl-image1.2 | source | trixie | 1.2.12-11 | not yet assigned | Not reported | [932755] |
| Debian | sdl-image1.2 | source | bookworm | 1.2.12-11 | not yet assigned | Not reported | [932755] |
| Debian | libsdl2-image | source | sid | 2.0.5+dfsg1-1 | not yet assigned | Not reported | [932754] |
| Debian | libsdl2-image | source | forky | 2.0.5+dfsg1-1 | not yet assigned | Not reported | [932754] |
| Debian | libsdl2-image | source | trixie | 2.0.5+dfsg1-1 | not yet assigned | Not reported | [932754] |
| Debian | libsdl2-image | source | bookworm | 2.0.5+dfsg1-1 | not yet assigned | Not reported | [932754] |
| Ubuntu | libsdl2-image | deb | pro | 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | Not reported | UBUNTU-CVE-2019-12220 | Not reported |
| Ubuntu | sdl-image1.2 | deb | pro | 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | Not reported | UBUNTU-CVE-2019-12220 | Not reported |
| Ubuntu | sdl-image1.2 | deb | 16.04 | 1.2.12-5+deb9u1ubuntu0.16.04.1 | Not reported | UBUNTU-CVE-2019-12220 | Not reported |
| Ubuntu | sdl-image1.2 | deb | 18.04 | 1.2.12-8ubuntu0.1 | Not reported | UBUNTU-CVE-2019-12220 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libsdl2-image-2.0-0]Fixed
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl2-image-dev]Fixed
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl2-image-tests]Fixed
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl-image1.2]Fixed
Source package: [sdl-image1.2]
Details (2)
1.2.12-13+b2· amd64 · bookwormFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
- [libsdl-image1.2-dev]Fixed
Source package: [sdl-image1.2]
Details (2)
1.2.12-13+b2· amd64 · bookwormFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
[Debian 13 (Trixie)]
- [libsdl2-image-2.0-0]Fixed
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
- [libsdl2-image-dev]Fixed
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
- [libsdl2-image-tests]Fixed
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.5+dfsg1-1dsa · libsdl2-image · debian · 13
- [libsdl-image1.2]Fixed
Source package: [sdl-image1.2]
Details (2)
1.2.12-14· amd64 · trixieFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · 13
- [libsdl-image1.2-dev]Fixed
Source package: [sdl-image1.2]
Details (2)
1.2.12-14· amd64 · trixieFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-11dsa · sdl-image1.2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2019_2070-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-12220]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-12220]
- [https://security-tracker.debian.org/tracker/CVE-2019-12220]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]