{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-1000376.json"
      }
    ],
    "title": "libffi: Requests an executable stack",
    "tracking": {
      "current_release_date": "2026-11-07T04:29:39+00:00",
      "generator": {
        "date": "2026-11-07T04:29:39+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.5"
        }
      },
      "id": "CVE-2017-1000376",
      "initial_release_date": "2017-05-09T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2017-05-09T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-05-04T14:40:21+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-07T04:29:39+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Virtualization 3",
                "product": {
                  "name": "Red Hat Enterprise Virtualization 3",
                  "product_id": "red_hat_enterprise_virtualization_3",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:rhev_v2v:2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Virtualization 3"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenShift Enterprise 2",
                "product": {
                  "name": "Red Hat OpenShift Enterprise 2",
                  "product_id": "red_hat_openshift_enterprise_2",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift:2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenShift Enterprise 2"
          },
          {
            "category": "product_version",
            "name": "libffi-devel",
            "product": {
              "name": "libffi-devel",
              "product_id": "libffi-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libffi-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libffi.src",
            "product": {
              "name": "libffi.src",
              "product_id": "libffi.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libffi?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mingw64-virt-viewer",
            "product": {
              "name": "mingw64-virt-viewer",
              "product_id": "mingw64-virt-viewer",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mingw64-virt-viewer"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mingw-virt-viewer.src",
            "product": {
              "name": "mingw-virt-viewer.src",
              "product_id": "mingw-virt-viewer.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mingw-virt-viewer?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mingw32-virt-viewer",
            "product": {
              "name": "mingw32-virt-viewer",
              "product_id": "mingw32-virt-viewer",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mingw32-virt-viewer"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libffi-devel as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:libffi-devel"
        },
        "product_reference": "libffi-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libffi.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:libffi.src"
        },
        "product_reference": "libffi.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libffi-devel as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:libffi-devel"
        },
        "product_reference": "libffi-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libffi.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:libffi.src"
        },
        "product_reference": "libffi.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mingw-virt-viewer.src as a component of Red Hat Enterprise Virtualization 3",
          "product_id": "red_hat_enterprise_virtualization_3:mingw-virt-viewer.src"
        },
        "product_reference": "mingw-virt-viewer.src",
        "relates_to_product_reference": "red_hat_enterprise_virtualization_3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mingw32-virt-viewer as a component of Red Hat Enterprise Virtualization 3",
          "product_id": "red_hat_enterprise_virtualization_3:mingw32-virt-viewer"
        },
        "product_reference": "mingw32-virt-viewer",
        "relates_to_product_reference": "red_hat_enterprise_virtualization_3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mingw64-virt-viewer as a component of Red Hat Enterprise Virtualization 3",
          "product_id": "red_hat_enterprise_virtualization_3:mingw64-virt-viewer"
        },
        "product_reference": "mingw64-virt-viewer",
        "relates_to_product_reference": "red_hat_enterprise_virtualization_3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libffi.src as a component of Red Hat OpenShift Enterprise 2",
          "product_id": "red_hat_openshift_enterprise_2:libffi.src"
        },
        "product_reference": "libffi.src",
        "relates_to_product_reference": "red_hat_openshift_enterprise_2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Qualys Inc"
          ]
        }
      ],
      "cve": "CVE-2017-1000376",
      "discovery_date": "2017-05-09T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_6:libffi-devel",
            "red_hat_enterprise_linux_6:libffi.src",
            "red_hat_enterprise_linux_7:libffi-devel",
            "red_hat_enterprise_linux_7:libffi.src",
            "red_hat_enterprise_virtualization_3:mingw-virt-viewer.src",
            "red_hat_enterprise_virtualization_3:mingw32-virt-viewer",
            "red_hat_enterprise_virtualization_3:mingw64-virt-viewer",
            "red_hat_openshift_enterprise_2:libffi.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1462164"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "libffi: Requests an executable stack",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "red_hat_enterprise_linux_6:libffi-devel",
          "red_hat_enterprise_linux_6:libffi.src",
          "red_hat_enterprise_linux_7:libffi-devel",
          "red_hat_enterprise_linux_7:libffi.src",
          "red_hat_enterprise_virtualization_3:mingw-virt-viewer.src",
          "red_hat_enterprise_virtualization_3:mingw32-virt-viewer",
          "red_hat_enterprise_virtualization_3:mingw64-virt-viewer",
          "red_hat_openshift_enterprise_2:libffi.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2017-1000376"
        },
        {
          "category": "external",
          "summary": "RHBZ#1462164",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1462164"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2017-1000376",
          "url": "https://www.cve.org/CVERecord?id=CVE-2017-1000376"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000376",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000376"
        },
        {
          "category": "external",
          "summary": "https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt",
          "url": "https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt"
        }
      ],
      "release_date": "2017-05-09T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.0,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
          },
          "products": [
            "red_hat_enterprise_linux_6:libffi-devel",
            "red_hat_enterprise_linux_6:libffi.src",
            "red_hat_enterprise_linux_7:libffi-devel",
            "red_hat_enterprise_linux_7:libffi.src",
            "red_hat_enterprise_virtualization_3:mingw-virt-viewer.src",
            "red_hat_enterprise_virtualization_3:mingw32-virt-viewer",
            "red_hat_enterprise_virtualization_3:mingw64-virt-viewer",
            "red_hat_openshift_enterprise_2:libffi.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_enterprise_linux_6:libffi-devel",
            "red_hat_enterprise_linux_6:libffi.src",
            "red_hat_enterprise_linux_7:libffi-devel",
            "red_hat_enterprise_linux_7:libffi.src",
            "red_hat_enterprise_virtualization_3:mingw-virt-viewer.src",
            "red_hat_enterprise_virtualization_3:mingw32-virt-viewer",
            "red_hat_enterprise_virtualization_3:mingw64-virt-viewer",
            "red_hat_openshift_enterprise_2:libffi.src"
          ]
        }
      ],
      "title": "libffi: Requests an executable stack"
    }
  ]
}