CVE-2017-1000376 json
libffi requests an executable stack allowing attackers to more easily trigger arbitrary code execution by overwriting the stack.
published 2017-06-19 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-1535
- cvss
- 7.0
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libffi_project libffi 3.2
- libffi Debian 14, Debian 13, Debian 12 3.2.1-4
debian advisories DEBIAN-CVE-2017-1000376
- libffi Ubuntu 14.04 LTS 3.1~rc1+r3.0.13-12ubuntu0.2
ubuntu advisories UBUNTU-CVE-2017-1000376
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gcc43 SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 4.3.4_20091019-37.3.1
suse advisories SUSE-SU-2018:0300-1
- libffi Arch Linux 3.2.1-1
arch linux advisories AVG-310
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-1000376 updated cvss 7.0
libffi: Requests an executable stack
-
Red Hat Enterprise Linux 6 libffi Red Hat Enterprise Linux 7 libffi Red Hat Enterprise Virtualization 3 mingw-virt-viewer, mingw32-virt-viewer, mingw64-virt-viewer Red Hat OpenShift Enterprise 2 libffinot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
debian.org
/security/2017/dsa-3889
vendor-advisory, third-party-advisory
-
qualys.com
/2017/06/19/stack-clash/stack-clash.txt
mailing-list, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2017-1000376
third-party-advisory
-
oracle.com
/security-alerts/cpujan2020.html
third-party-advisory
Sources
- CVE List CVE-2017-1000376
- NVD CVE-2017-1000376
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.