# CVE-2018-3977: libsdl-image1.2: An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.3

CVE-2018-3977 is fixed in libsdl-image1.2 on 1 platform by libsdl-image1.2 1.2.12-8ubuntu0.1 (version 1.2.12-8ubuntu0.1), released October 14, 2019. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-3977
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0348
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 1, 2018

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libsdl-image1.2 Ubuntu 18.04.6 LTS (bionic) | 1.2.12-8ubuntu0.1 | [libsdl-image1.2 1.2.12-8ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsdl-image1.2-1.2.12-8ubuntu0.1.md) | Oct 14, 2019 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
