Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-1000376
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:45 UTC · Revision 1

Source evidence

CVE-2017-1000376

core-osv · Original source

Published 19 Jun 2017, 16:29 UTC

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.

osv:CVE-2017-1000376
Complete source record
{
  "id": "3bfc852882c97af188c1f10c2b424c3bf6935f783348cf7e55b220b21c83548e",
  "url": "https://osv.dev/vulnerability/CVE-2017-1000376",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-1000376",
    "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.",
    "evidence": "osv:CVE-2017-1000376",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-1000376",
      "aliases": [
        "CVE-2017-1000376"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libffi/libffi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "67c0c0705318d2e567fd48e680d63dca3619a235"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libffi_project:libffi:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.1",
            "v3.0.13",
            "v3.0.12",
            "v3.0.11",
            "v3.0.10",
            "v3.0.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1000376.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:58.053940500Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/security/cve/CVE-2017-1000376",
        "https://www.oracle.com/security-alerts/cpujan2020.html",
        "https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:peopletools:8.56:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:peopletools:8.57:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:peopletools",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.56"
                  },
                  {
                    "last_affected": "8.56"
                  },
                  {
                    "introduced": "8.57"
                  },
                  {
                    "last_affected": "8.57"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:openshift:2.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openshift",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0"
                  },
                  {
                    "last_affected": "2.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-1000376",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 438990,
  "published_at": "2017-06-19T16:29:00.577+00:00"
}