---
title: "CVE-2018-3839\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-3839?format=md
keywords: index, follow
---

# CVE-2018-3839

Publication date 10 April 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2018-3839?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libsdl2-image | 18.04 LTS bionic | Not affected |
| 17.10 artful | Ignored end of life |
| 16.04 LTS xenial | Fixed 2.0.1+dfsg-2+deb9u1build0.16.04.1 |
| 14.04 LTS trusty | Fixed 2.0.0+dfsg-3+deb8u1build0.14.04.1 |
| sdl-image1.2 | 18.04 LTS bionic | Not affected |
| 17.10 artful | Ignored end of life |
| 16.04 LTS xenial | Fixed 1.2.12-5+deb9u1build0.16.04.1 |
| 14.04 LTS trusty | Fixed 1.2.12-5+deb9u1build0.14.04.1 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2018-3839?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libsdl2-image | * Upstream:   <https://hg.libsdl.org/SDL_image/rev/c5f9cbb5d2bbcb2150ba0596ea56b49efeed660d> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3839)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-3839)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-3839)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-3839)

### Other references

* <https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0521>
* <https://www.cve.org/CVERecord?id=CVE-2018-3839>
