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

# CVE-2017-1000376

Publication date 19 June 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**7.0 · High**

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

Toggle side navigation

## Description

libffi requests an executable stack allowing attackers to more easily
trigger arbitrary code execution by overwriting the stack. Please note that
libffi is used by a number of other libraries. It was previously stated
that this affects libffi version 3.2.1 but this appears to be incorrect.
libffi prior to version 3.1 on 32 bit x86 systems was vulnerable, and
upstream is believed to have fixed this issue in version 3.1.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libffi | 17.10 artful | Not affected |
| 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Fixed 3.1~rc1+r3.0.13-12ubuntu0.2 |

---

* [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-2017-1000376?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 |
| --- | --- |
| libffi | * Upstream:   [978c954](https://github.com/libffi/libffi/commit/978c9540154d320525488db1b7049277122f736d) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.0 · High

* Base metrics

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

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

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3454-1](https://usn.ubuntu.com/USN-3454-1)
+ libffi vulnerability
+ 12 October 2017

+ [USN-3454-2](https://usn.ubuntu.com/USN-3454-2)
+ libffi vulnerability
+ 24 October 2017

### Other references

* <https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt>
* <https://access.redhat.com/security/cve/CVE-2017-1000376>
* <https://www.cve.org/CVERecord?id=CVE-2017-1000376>
