CVE-2017-12122 json
An exploitable code execution vulnerability exists in the ILBM image rendering functionality of SDL2_image-2.0.2.
published 8y ago modified 4mo ago also EUVD-2017-3706
- cvss
- 8.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
An exploitable code execution vulnerability exists in the ILBM image rendering functionality of SDL2_image-2.0.2. A specially crafted ILBM image can cause a heap overflow 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-2017-12122
- 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-2017-12122
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 Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 2.0.3-r0
- 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-2017-12122
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-2017-12122 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-2017-12122 updated cvss 6.3
SDL2_image: code execution in the ILBM image rendering
-
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.35% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/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
- Sam Lantinga and Mattias Engdegård Simple DirectMedia Layer
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
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
-
lists.debian.org
/debian-lts-announce/2018/04/msg00005.html
mailing-list, third-party-advisory
-
talosintelligence.com
/vulnerability_reports/TALOS-2017-0488
third-party-advisory
Sources
- CVE List CVE-2017-12122
- NVD CVE-2017-12122
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.