CVE-2018-3839 json
An exploitable code execution vulnerability exists in the XCF image rendering functionality of Simple DirectMedia Layer SDL2_image-2.0.2.
published 8y ago modified 4mo ago also EUVD-2018-15625
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- sdl-image1.2 Debian 14, Debian 13, Debian 12 1.2.12-8
- libsdl2-image Debian 14, Debian 13, Debian 12 2.0.3+dfsg1-1
debian advisories DEBIAN-CVE-2018-3839
- sdl-image1.2 Ubuntu 14.04 LTS 1.2.12-5+deb9u1build0.14.04.1
- sdl-image1.2 Ubuntu 16.04 LTS 1.2.12-5+deb9u1build0.16.04.1
- libsdl2-image Ubuntu 14.04 LTS 2.0.0+dfsg-3+deb8u1build0.14.04.1
- libsdl2-image Ubuntu 16.04 LTS 2.0.1+dfsg-2+deb9u1build0.16.04.1
ubuntu advisories UBUNTU-CVE-2018-3839
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- SDL_image SLE Software Development Kit 11 SP4 1.2.6-84.42.1
suse advisories SUSE-SU-2018:3657-1
- SDL2_image Package Hub 15 2.0.4-bp150.3.3.1
opensuse advisories openSUSE-SU-2018:3906-1
- sdl2_image Alpine 3.6, Alpine 3.5 2.0.1-r2
- sdl2_image Alpine 3.7 2.0.2-r1
alpine advisories ALPINE-CVE-2018-3839
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2018-3839 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-3839 updated cvss 5.0
SDL2_image: code execution in the XCF image rendering functionality
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.62% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- talosintelligence.com https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0521 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- Cisco Systems, Inc. Simple DirectMedia
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
talosintelligence.com
/vulnerability_reports/TALOS-2018-0521
exploit, technical-description, third-party-advisory
-
debian.org
/security/2018/dsa-4177
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4184
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201903-17
vendor-advisory, third-party-advisory
-
starwindsoftware.com
/security/sw-20191008-0002/
third-party-advisory
Sources
- CVE List CVE-2018-3839
- NVD CVE-2018-3839
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.