{"id":"CVE-2021-32297","aliases":["CVE-2021-32297","GHSA-22x7-vwh9-5w4g","PYSEC-2021-324"],"related":[],"kind":"vulnerability","state":"published","title":"LIEF heap-buffer-overflow","summary":"An issue was discovered in LIEF through 0.11.4. A heap-buffer-overflow exists in the function main located in pe_reader.c. It allows an attacker to cause code Execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in LIEF through 0.11.4. A heap-buffer-overflow exists in the function main located in pe_reader.c. It allows an attacker to cause code Execution.","source":"cvelist"},{"lang":"en","text":"An issue was discovered in LIEF prior to version 0.11.0. A heap-buffer-overflow exists in the function main located in `pe_reader.c`. It allows an attacker to cause code Execution.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un problema en LIEF versiones hasta 0.11.4. Se presenta un desbordamiento del búfer de la pila en la función main ubicada en el archivo pe_reader.c. Permite a un atacante causar una Ejecución de código","source":"nvd"}],"published":"2021-09-20T15:26:51.000Z","modified":"2026-06-17T03:52:55.373Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.11.0"}],"ecosystem":"PyPI","package":"lief","purl":"pkg:pypi/lief","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.11.4"}],"vendor":"lief-project","product":"lief","cpe":"cpe:2.3:a:lief-project:lief:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.11.5"}],"ecosystem":"PyPI","package":"lief","purl":"pkg:pypi/lief","source":"pysec"}],"references":[{"url":"https://github.com/lief-project/LIEF/issues/449","tags":["exploit","issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32297","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/lief-project/LIEF/commit/19e06755e8ce1ecf136360a5c36cded3701ac253","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/lief-project/LIEF","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2021-324.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-22x7-vwh9-5w4g","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32297","url":"https://www.cve.org/CVERecord?id=CVE-2021-32297","licence":"CVE Terms of Use","modified":"2024-08-03T23:17:29.382Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-22x7-vwh9-5w4g","url":"https://github.com/advisories/GHSA-22x7-vwh9-5w4g","licence":"CC-BY-4.0","modified":"2024-09-30T17:01:17.311Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32297","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32297","licence":"Public domain","modified":"2026-06-17T03:52:55.373Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-324","url":"https://osv.dev/vulnerability/PYSEC-2021-324","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:00.443Z"}],"updatedAt":"2026-11-25T22:58:04.060Z","epss":{"score":0.01559,"percentile":0.75944,"date":"2026-12-01T12:00:22.000Z"}}