CVE-2019-12216
An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in...
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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
- Record
CVE-2019-12216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
- Record
CVE-2019-12216- Updated
- 2026-11-02
EUVDEUVD-2019-3861 No score
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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
- Record
EUVD-2019-3861- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mmcc-4pv3-77cj
6.5
An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in...
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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
- Record
GHSA-mmcc-4pv3-77cj- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVBELL-CVE-2019-12216
6.5
CVE-2019-12216 does not affect BellSoft software
- Record
BELL-CVE-2019-12216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
6.5
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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
- Record
CVE-2019-12216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-12216
6.5
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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
- Record
DEBIAN-CVE-2019-12216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-12216
6.5
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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
- Record
UBUNTU-CVE-2019-12216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUSN-4238-1 No score
sdl-image1.2 vulnerabilities
It was discovered that SDL_image incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.
- Record
USN-4238-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libsdl2-imageDebian:12 |
before 2.0.5+dfsg1-1 | 2.0.5+dfsg1-1 |
libsdl2-imageDebian:13 |
before 2.0.5+dfsg1-1 | 2.0.5+dfsg1-1 |
libsdl2-imageDebian:14 |
before 2.0.5+dfsg1-1 | 2.0.5+dfsg1-1 |
sdl-image1.2Debian:12 |
before 1.2.12-11 | 1.2.12-11 |
sdl-image1.2Debian:13 |
before 1.2.12-11 | 1.2.12-11 |
sdl-image1.2Debian:14 |
before 1.2.12-11 | 1.2.12-11 |
libsdl2-imageDebian:8 From an advisory covering 11 CVEs |
before 2.0.0+dfsg-3+deb8u2, plus listed versions 2.0.0+dfsg-32.0.0+dfsg-3+deb8u1 |
2.0.0+dfsg-3+deb8u2 |
sdl-image1.2Debian:8 From an advisory covering 11 CVEs |
before 1.2.12-5+deb8u2, plus listed versions 1.2.12-51.2.12-5+deb8u1 |
1.2.12-5+deb8u2 |
libsdl2-imageUbuntu:Pro:14.04:LTS |
before 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1, plus listed versions 2.0.0+dfsg-22.0.0+dfsg-32.0.0+dfsg-3build22.0.0+dfsg-3+deb8u1build0.14.04.1 |
2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 |
sdl-image1.2Ubuntu:Pro:14.04:LTS |
before 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1, plus listed versions 1.2.12-4ubuntu11.2.12-51.2.12-5build21.2.12-5+deb9u1build0.14.04.1 |
1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
sdl-image1.2Ubuntu:16.04:LTS |
before 1.2.12-5+deb9u1ubuntu0.16.04.1, plus listed versions 1.2.12-5build21.2.12-5+deb9u1build0.16.04.1 |
1.2.12-5+deb9u1ubuntu0.16.04.1 |
libsdl2-imageUbuntu:16.04:LTS |
All versions, plus listed versions 2.0.0+dfsg-3build22.0.1+dfsg-12.0.1+dfsg-22.0.1+dfsg-2+deb9u1build0.16.04.1 |
None known |
sdl-image1.2Ubuntu:18.04:LTS |
before 1.2.12-8ubuntu0.1, plus listed versions 1.2.12-61.2.12-71.2.12-8 |
1.2.12-8ubuntu0.1 |
libsdl2-imageUbuntu:18.04:LTS |
All versions, plus listed versions 2.0.1+dfsg-32.0.1+dfsg-42.0.2+dfsg1-12.0.3+dfsg1-1 |
None known |
sdl-image1.2Ubuntu:16.04:LTS From an advisory covering 12 CVEs |
before 1.2.12-5+deb9u1ubuntu0.16.04.1, plus listed versions 1.2.12-5build21.2.12-5+deb9u1build0.16.04.1 |
1.2.12-5+deb9u1ubuntu0.16.04.1 |
sdl-image1.2Ubuntu:18.04:LTS From an advisory covering 12 CVEs |
before 1.2.12-8ubuntu0.1, plus listed versions 1.2.12-61.2.12-71.2.12-8 |
1.2.12-8ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-12216 is a medium vulnerability (CVSS 6.5) in Libsdl Simple Directmedia Layer, published May 20, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.21%, the 82nd percentile. Fixed in libsdl2-image 2.0.5+dfsg1-1.
References
bugzilla.libsdl.org/show_bug.cgi?id=4619
lists.debian.org/debian-lts-announce/2019/07/msg00021.html
lists.debian.org/debian-lts-announce/2019/07/msg00026.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJ2VRD57UOBT72JUC2DIFHEFCH4N64SW
usn.ubuntu.com/4238-1
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GY6FDFPYUJ7YPY3XB5U75VJHBSVRVIKO
Show 20 moreShow less
nvd.nist.gov/vuln/detail/CVE-2019-12216
lists.fedoraproject.org/archives/list/[email protected]/message/GY6FDFPYUJ7YPY3XB5U75VJHBSVRVIKO
lists.fedoraproject.org/archives/list/[email protected]/message/WJ2VRD57UOBT72JUC2DIFHEFCH4N64SW
github.com/advisories/GHSA-mmcc-4pv3-77cj
docs.bell-sw.com/security/cves/CVE-2019-12216
security-tracker.debian.org/tracker/CVE-2019-12216
ubuntu.com/security/CVE-2019-12216
ubuntu.com/security/notices/USN-4238-1
cve.org/CVERecord?id=CVE-2019-12216
ubuntu.com/security/CVE-2018-3977
ubuntu.com/security/CVE-2019-5051
ubuntu.com/security/CVE-2019-5052
ubuntu.com/security/CVE-2019-7635
ubuntu.com/security/CVE-2019-12217
ubuntu.com/security/CVE-2019-12218
ubuntu.com/security/CVE-2019-12219
ubuntu.com/security/CVE-2019-12220
ubuntu.com/security/CVE-2019-12221
ubuntu.com/security/CVE-2019-12222
ubuntu.com/security/CVE-2019-13616