
CVE catalog
CVE-2018-3839
libsdl2-image: CVE-2018-3839
- Severity
- Medium · CVSS 5.8
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.62% · Oct 25, 2026
An exploitable code execution vulnerability exists in the XCF image rendering functionality of Simple DirectMedia Layer SDL2_image-2.0.2. A specially crafted XCF image can cause an out-of-bounds write on the heap, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.
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 | 14.04 | 2.0.0+dfsg-2 | vulnerable |
| Ubuntu | libsdl2-image | 14.04 | 2.0.0+dfsg-3 | vulnerable |
| Ubuntu | libsdl2-image | 14.04 | 2.0.0+dfsg-3build2 | vulnerable |
| Ubuntu | libsdl2-image | 14.04 | 2.0.0+dfsg-3+deb8u1build0.14.04.1 | fixed |
| Ubuntu | sdl-image1.2 | 14.04 | 1.2.12-4ubuntu1 | vulnerable |
| Ubuntu | sdl-image1.2 | 14.04 | 1.2.12-5 | vulnerable |
| Ubuntu | sdl-image1.2 | 14.04 | 1.2.12-5build2 | vulnerable |
| Ubuntu | sdl-image1.2 | 14.04 | 1.2.12-5+deb9u1build0.14.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 | 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 | fixed |
| Suse | SDL2_image | package hub 15 | 2.0.4-bp150.3.3.1 | fixed |
| Alpine | sdl2_image | 3.5 | 2.0.1-r2 | fixed |
| Alpine | sdl2_image | 3.6 | 2.0.1-r2 | fixed |
| Alpine | sdl2_image | 3.7 | 2.0.2-r1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sdl-image1.2 | source | sid | 1.2.12-8 | not yet assigned | Not reported | Not reported |
| Debian | sdl-image1.2 | source | forky | 1.2.12-8 | not yet assigned | Not reported | Not reported |
| Debian | sdl-image1.2 | source | trixie | 1.2.12-8 | not yet assigned | Not reported | Not reported |
| Debian | sdl-image1.2 | source | bookworm | 1.2.12-8 | not yet assigned | Not reported | Not reported |
| Debian | libsdl2-image | source | sid | 2.0.3+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Debian | libsdl2-image | source | forky | 2.0.3+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Debian | libsdl2-image | source | trixie | 2.0.3+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Debian | libsdl2-image | source | bookworm | 2.0.3+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | libsdl2-image | deb | 14.04 | 2.0.0+dfsg-3+deb8u1build0.14.04.1 | Not reported | UBUNTU-CVE-2018-3839 | Not reported |
| Ubuntu | sdl-image1.2 | deb | 14.04 | 1.2.12-5+deb9u1build0.14.04.1 | Not reported | UBUNTU-CVE-2018-3839 | Not reported |
| Ubuntu | libsdl2-image | deb | 16.04 | 2.0.1+dfsg-2+deb9u1build0.16.04.1 | Not reported | UBUNTU-CVE-2018-3839 | Not reported |
| Ubuntu | sdl-image1.2 | deb | 16.04 | 1.2.12-5+deb9u1build0.16.04.1 | Not reported | UBUNTU-CVE-2018-3839 | Not reported |
| Suse | SDL2_image | rpm | package hub 15 | 2.0.4-bp150.3.3.1 | Not reported | OPENSUSE-SU-2018:3906-1 | Not reported |
| Alpine | sdl2_image | apk | 3.5 | 2.0.1-r2 | Not reported | ALPINE-CVE-2018-3839 | Not reported |
| Alpine | sdl2_image | apk | 3.6 | 2.0.1-r2 | Not reported | ALPINE-CVE-2018-3839 | Not reported |
| Alpine | sdl2_image | apk | 3.7 | 2.0.2-r1 | Not reported | ALPINE-CVE-2018-3839 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libsdl2-image-2.0-0]Unknown
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl2-image-dev]Unknown
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl2-image-tests]Unknown
Source package: [libsdl2-image]
Details (2)
2.6.3+dfsg-1· amd64 · bookwormFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
- [libsdl-image1.2]Unknown
Source package: [sdl-image1.2]
Details (2)
1.2.12-13+b2· amd64 · bookwormFixed · Fixed:
1.2.12-8dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-8dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
- [libsdl-image1.2-dev]Unknown
Source package: [sdl-image1.2]
Details (2)
1.2.12-13+b2· amd64 · bookwormFixed · Fixed:
1.2.12-8dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-8dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
[Debian 13 (Trixie)]
- [libsdl2-image-2.0-0]Unknown
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · 13
- [libsdl2-image-dev]Unknown
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · 13
- [libsdl2-image-tests]Unknown
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.3+dfsg1-1dsa · libsdl2-image · debian · 13
- [libsdl-image1.2]Unknown
Source package: [sdl-image1.2]
Details (2)
1.2.12-14· amd64 · trixieFixed · Fixed:
1.2.12-8dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-8dsa · sdl-image1.2 · debian · 13
- [libsdl-image1.2-dev]Unknown
Source package: [sdl-image1.2]
Details (2)
1.2.12-14· amd64 · trixieFixed · Fixed:
1.2.12-8dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-8dsa · sdl-image1.2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_3657-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-3839]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-3839]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-3839]
- [https://osv.dev/vulnerability/openSUSE-SU-2018:3906-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-3839]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]