Live threats

All CVEs / Lief-project

CVE-2021-32297Lief-project Lief

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Sep 20, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lief.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI lief < 0.11.0 0.11.0 pip install "lief>=0.11.0"
PyPI lief < 0.11.5 0.11.5 pip install "lief>=0.11.5"

Per OSV / GitHub Advisories (GHSA-22x7-vwh9-5w4g, PYSEC-2021-324). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lief-projectlief≤ 0.11.4

Official sources

References

Links published by the sources. Open them with care.