CVE-2021-32297 json
LIEF heap-buffer-overflow
published 2021-09-20 5 y ago modified 2026-06-17 4 mo ago also GHSA-22x7-vwh9-5w4g , PYSEC-2021-324 , EUVD-2021-0109
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi lief 0.11.0, 0.11.5
Exploit prediction
1.56% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/lief-project/LIEF/issues/449 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | lief | <0.11.0 <0.11.5 |
0.11.0 0.11.5 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/lief-project/LIEF/issues/449
web, exploit, issue-tracking, patch, third-party-advisory, report
-
github.com
/lief-project/LIEF/commit/19e06755e8ce1ecf136360a5c36cded3701ac253
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-32297
advisory
-
github.com
/lief-project/LIEF
package
-
github.com
/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2021-324.yaml
web
-
github.com
/advisories/GHSA-22x7-vwh9-5w4g
advisory
Sources
- CVE List CVE-2021-32297
- GitHub Advisory GHSA-22x7-vwh9-5w4g
- NVD CVE-2021-32297
- OSV PYSEC-2021-324
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.