
CVE catalog
CVE-2018-3977
libsdl2-image: CVE-2018-3977
- Severity
- High · CVSS 7.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.48% · Oct 25, 2026
An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.3. A specially crafted XCF image can cause a heap overflow, 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 | 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 | 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 | 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 | 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 |
| Suse | SDL_image | linux enterprise software development kit 11 sp4 | 1.2.6-84.46.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sdl-image1.2 | source | sid | 1.2.12-10 | not yet assigned | Not reported | [912618] |
| Debian | sdl-image1.2 | source | forky | 1.2.12-10 | not yet assigned | Not reported | [912618] |
| Debian | sdl-image1.2 | source | trixie | 1.2.12-10 | not yet assigned | Not reported | [912618] |
| Debian | sdl-image1.2 | source | bookworm | 1.2.12-10 | not yet assigned | Not reported | [912618] |
| Debian | libsdl2-image | source | sid | 2.0.3+dfsg1-3 | not yet assigned | Not reported | [912617] |
| Debian | libsdl2-image | source | forky | 2.0.3+dfsg1-3 | not yet assigned | Not reported | [912617] |
| Debian | libsdl2-image | source | trixie | 2.0.3+dfsg1-3 | not yet assigned | Not reported | [912617] |
| Debian | libsdl2-image | source | bookworm | 2.0.3+dfsg1-3 | not yet assigned | Not reported | [912617] |
| Ubuntu | sdl-image1.2 | deb | 16.04 | 1.2.12-5+deb9u1ubuntu0.16.04.1 | Not reported | USN-4238-1 | Not reported |
| Ubuntu | sdl-image1.2 | deb | 18.04 | 1.2.12-8ubuntu0.1 | Not reported | USN-4238-1 | Not reported |
| Ubuntu | libsdl2-image | deb | pro | 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | Not reported | UBUNTU-CVE-2018-3977 | Not reported |
| Ubuntu | sdl-image1.2 | deb | pro | 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | Not reported | UBUNTU-CVE-2018-3977 | Not reported |
| Ubuntu | sdl-image1.2 | deb | 16.04 | 1.2.12-5+deb9u1ubuntu0.16.04.1 | Not reported | UBUNTU-CVE-2018-3977 | Not reported |
| Ubuntu | sdl-image1.2 | deb | 18.04 | 1.2.12-8ubuntu0.1 | Not reported | UBUNTU-CVE-2018-3977 | Not reported |
| Suse | SDL_image | rpm | linux enterprise software development kit 11 sp4 | 1.2.6-84.46.1 | Not reported | SUSE-SU-2018:3861-1 | 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.3+dfsg1-3dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.3+dfsg1-3dsa · 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.3+dfsg1-3dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.3+dfsg1-3dsa · 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.3+dfsg1-3dsa · libsdl2-image · debian · bookworm; dsa · libsdl2-image · debian · 12
2.6.3+dfsg-1· arm64 · bookwormFixed · Fixed:
2.0.3+dfsg1-3dsa · 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-10dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-10dsa · 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-10dsa · sdl-image1.2 · debian · bookworm; dsa · sdl-image1.2 · debian · 12
1.2.12-13+b2· arm64 · bookwormFixed · Fixed:
1.2.12-10dsa · 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.3+dfsg1-3dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.3+dfsg1-3dsa · libsdl2-image · debian · 13
- [libsdl2-image-dev]Fixed
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.3+dfsg1-3dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.3+dfsg1-3dsa · libsdl2-image · debian · 13
- [libsdl2-image-tests]Fixed
Source package: [libsdl2-image]
Details (2)
2.8.8+dfsg-1· amd64 · trixieFixed · Fixed:
2.0.3+dfsg1-3dsa · libsdl2-image · debian · 13
2.8.8+dfsg-1· arm64 · trixieFixed · Fixed:
2.0.3+dfsg1-3dsa · 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-10dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-10dsa · 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-10dsa · sdl-image1.2 · debian · 13
1.2.12-14· arm64 · trixieFixed · Fixed:
1.2.12-10dsa · sdl-image1.2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_3861-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-3977]
- [https://osv.dev/vulnerability/DLA-1861-1]
- [https://osv.dev/vulnerability/DLA-1865-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3861-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-3977]
- [https://osv.dev/vulnerability/USN-4238-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-3977]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]