# lief (PyPI) vulnerabilities

11 known vulnerabilities (3 medium, 1 low), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://pypi.org/project/lief/

## Advisories (11)

### [CVE-2025-15504](https://cve.now/CVE-2025-15504): lief-project LIEF ELF Binary Parser.tcc parse\_binary null pointer dereference

- Severity: Medium 4.8
- Published: Jan 10, 2026
- Affected: fixed in 0.17.2.

### [CVE-2024-31636](https://cve.now/CVE-2024-31636): An issue in LIEF v.0.14.1 allows a local attacker to obtain sensitive information via the name parameter of the machd\_reader.c component.

- Severity: Low 3.9
- Published: May 3, 2024
- Affected: through 0.14.1; fixed in 0.15.0.

### [CVE-2022-43171](https://cve.now/CVE-2022-43171): A heap buffer overflow in the LIEF::MachO::BinaryParser::parse\_dyldinfo\_generic\_bind function of LIEF v0.12.1 allows attackers to cause a…

- Severity: Medium 6.5
- Published: Nov 17, 2022
- Affected: fixed in 0.12.3.

### [CVE-2022-40922](https://cve.now/CVE-2022-40922): A vulnerability in the LIEF::MachO::BinaryParser::init\_and\_parse function of LIEF v0.12.1 allows attackers to cause a denial of service…

- Severity: Unrated
- Published: Oct 3, 2022
- Affected: fixed in 0.12.2.

### [CVE-2022-40923](https://cve.now/CVE-2022-40923): A vulnerability in the LIEF::MachO::SegmentCommand::virtual\_address function of LIEF v0.12.1 allows attackers to cause a denial of service…

- Severity: Medium 6.5
- Published: Sep 30, 2022
- Affected: through 0.12.1.

### [CVE-2022-38497](https://cve.now/CVE-2022-38497): LIEF commit 365a16a was discovered to contain a segmentation violation via the component CoreFile.tcc:69.

- Severity: Unrated
- Published: Sep 13, 2022
- Affected: fixed in 0.12.1; through 0.12.1.

### [CVE-2022-38496](https://cve.now/CVE-2022-38496): LIEF commit 365a16a was discovered to contain a reachable assertion abort via the component BinaryStream.hpp.

- Severity: Unrated
- Published: Sep 13, 2022
- Affected: fixed in 0.12.2.

### [CVE-2022-38495](https://cve.now/CVE-2022-38495): LIEF commit 365a16a was discovered to contain a heap-buffer overflow via the function print\_binary at /c/macho\_reader.c.

- Severity: Unrated
- Published: Sep 13, 2022
- Affected: through 0.12.1; fixed in 0.12.1.

### [CVE-2022-38307](https://cve.now/CVE-2022-38307): LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file\_offset() at…

- Severity: Unrated
- Published: Sep 13, 2022
- Affected: fixed in 0.12.1.

### [CVE-2022-38306](https://cve.now/CVE-2022-38306): LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.

- Severity: Unrated
- Published: Sep 13, 2022
- Affected: fixed in 0.12.1; through 0.12.1.

### [CVE-2021-32297](https://cve.now/CVE-2021-32297): An issue was discovered in LIEF through 0.11.4.

- Severity: Unrated
- Published: Sep 20, 2021
- Affected: fixed in 0.11.0; fixed in 0.11.5.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/lief
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
