LIEF is vulnerable to segmentation fault
A security flaw has been discovered in lief-project LIEF up to 0.17.1. Affected by this issue is the function Parser::parse_binary of the file src/ELF/Parser.tcc of the component ELF Binary Parser. The manipulation results in null pointer dereference. The attack must be initiated from a local position. The exploit has been released to the public and may be used for attacks. Upgrading to version 0.17.2 can resolve this issue. The patch is identified as 81bd5d7ea0c390563f1c4c017c9019d154802978. It is recommended to upgrade the affected component.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | lief | < 0.17.2 | 0.17.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-15504
- https://github.com/lief-project/LIEF/issues/1277
- https://github.com/lief-project/LIEF/issues/1277#issuecomment-3693859001
- https://github.com/lief-project/LIEF/commit/81bd5d7ea0c390563f1c4c017c9019d154802978
- https://github.com/lief-project/LIEF
- https://github.com/lief-project/LIEF/releases/tag/0.17.2
- https://github.com/oneafter/1210/blob/main/segv1
- https://vuldb.com/?ctiid.340375
- https://vuldb.com/?id.340375
- https://vuldb.com/?submit.733329
- https://pypi.org/project/lief
- https://github.com/advisories/GHSA-mjjp-xjfg-97wg
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L- Weakness (CWE)
CWE-404, CWE-476- Platform
- Python (PyPI)
- Package
lief- Disclosed
- 10.01.2026
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1538 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-mjjp-xjfg-97wg - 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
-
LIEF is vulnerable to segmentation fault 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.