---
title: "CVE-2018-3977\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-3977?format=md
keywords: index, follow
---

# CVE-2018-3977

Publication date 1 November 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-3977?format=md#impact-score)

Toggle side navigation

## 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.

### From the Ubuntu Security Team

USN-4238-1 addressed serveral vulnerabilities in SDL\_image. This update
provides the corresponding fixes for Ubuntu 14.04 ESM.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libsdl2-image | 22.04 LTS jammy | Not affected |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Fixed 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1  Ubuntu Pro |
| sdl-image1.2 | 22.04 LTS jammy | Not affected |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Ignored end of life |
| 18.04 LTS bionic | Fixed 1.2.12-8ubuntu0.1 |
| 16.04 LTS xenial | Fixed 1.2.12-5+deb9u1ubuntu0.16.04.1 |
| 14.04 LTS trusty | Fixed 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1  Ubuntu Pro |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## 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.0/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-3977)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-3977)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-3977)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-3977)

### Related Ubuntu Security Notices (USN)

+ [USN-4238-1](https://usn.ubuntu.com/USN-4238-1)
+ SDL\_image vulnerabilities
+ 14 January 2020

### Other references

* <https://talosintelligence.com/vulnerability_reports/TALOS-2018-0645>
* <https://hg.libsdl.org/SDL_image/rev/170d7d32e4a8>
* <https://www.cve.org/CVERecord?id=CVE-2018-3977>
