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.
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | lief | < 0.11.5 | 0.11.5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-32297
- https://github.com/lief-project/LIEF/issues/449
- https://github.com/lief-project/LIEF/commit/19e06755e8ce1ecf136360a5c36cded3701ac253
- https://github.com/lief-project/LIEF
- https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2021-324.yaml
- https://github.com/advisories/GHSA-22x7-vwh9-5w4g
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-787- Platform
- Python (PyPI)
- Package
lief- Disclosed
- 20.09.2021
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-22x7-vwh9-5w4g - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2021-324 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: lief
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 11
- First → latest
- 09.2021 01.2026
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Medium 5
- Low 2
Disclosures per year
- 2021: 1
- 2022: 8
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 1
-
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. this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.