CVE-2017-12122: High severity libSDL Sdl Image vulnerability

Published Apr 24, 2018
·
Updated

An exploitable code execution vulnerability exists in the ILBM image rendering functionality of SDL2image-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.

Affected Software

26 affected componentsFixes available
debian/libsdl2-image
2.0.4+dfsg1-1+deb10u12.0.5+dfsg1-22.6.3+dfsg-12.6.3+dfsg-2
debian/sdl-image1.2
1.2.12-10+deb10u11.2.12-121.2.12-13
libSDL Sdl Image=2.0.2
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.1-r2
2.0.1-r2
alpine/sdl2_image<2.0.1-r2
2.0.1-r2
alpine/sdl2_image<2.0.2-r1
2.0.2-r1
alpine/sdl2_image<2.0.3-r0
2.0.3-r0
alpine/sdl2_image<2.0.3-r0
2.0.3-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libsdl2-image to a version that resolves this vulnerability.

    Fixed in 2.0.4+dfsg1-1+deb10u1Fixed in 2.0.5+dfsg1-2Fixed in 2.6.3+dfsg-1Fixed in 2.6.3+dfsg-2
  2. Upgrade

    Upgrade debian/sdl-image1.2 to a version that resolves this vulnerability.

    Fixed in 1.2.12-10+deb10u1Fixed in 1.2.12-12Fixed in 1.2.12-13
  3. Upgrade

    Upgrade alpine/sdl2_image to a version that resolves this vulnerability.

    Fixed in 2.0.3-r0
  4. Upgrade

    Upgrade alpine/sdl2_image to a version that resolves this vulnerability.

    Fixed in 2.0.1-r2
  5. Upgrade

    Upgrade alpine/sdl2_image to a version that resolves this vulnerability.

    Fixed in 2.0.2-r1

Event History

Apr 24, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:29 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·07:29 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-12122?

The severity of CVE-2017-12122 is high with a score of 8.8.

2

How does the code execution vulnerability in CVE-2017-12122 work?

The code execution vulnerability in CVE-2017-12122 is triggered by a specially crafted ILBM image that causes a heap overflow, leading to code execution.

3

Which software versions are affected by CVE-2017-12122?

The affected software versions for CVE-2017-12122 include libsdl2-image 2.0.2, sdl-image1.2 1.2.12, and various Debian Linux versions.

4

How can I fix CVE-2017-12122?

To fix CVE-2017-12122, update to the recommended versions of libsdl2-image or sdl-image1.2 depending on your system, as provided in the vulnerability description.

5

Where can I find more information about CVE-2017-12122?

More information about CVE-2017-12122 can be found in the references provided: https://lists.debian.org/debian-lts-announce/2018/04/msg00005.html, https://security.gentoo.org/glsa/201903-17, and https://www.debian.org/security/2018/dsa-4177.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203