CVE-2021-32297Lief-project Lief
High 8.8 No auth needed
Follow: this CVE · Lief-project · Lief-project Lief We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Lief.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| lief-project | lief | ≤ 0.11.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch