Buffer overflow in Libffi Project

CVE-2017-1000376

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.

Vulnerability class: Buffer Overflow

EPSS: 0.005 (40.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2017-1000376?
CVE-2017-1000376 is a high-severity vulnerability in Libffi Project, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.0/10. Published 2017-06-19.
How severe is CVE-2017-1000376?
High severity. CVSS v3 base score is 7.0 out of 10.
Is CVE-2017-1000376 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.