GitHub Advisoryadvisory · PyPI, crates.io
GHSA-mjjp-xjfg-97wg LIEF is vulnerable to segmentation fault
LOW
Official page ↗
- Aliases
- CVE-2025-15504
- Ecosystem
- PyPI, crates.io
- Packages
- lief
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-404, CWE-476
- Reviewed
- 2026-01-13
Affected packages
• PyPI lief: < 0.17.2 → fixed in 0.17.2
• crates.io lief: < 0.17.2 → fixed in 0.17.2
Description
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.
Related
Alias · CVE (1)
- CVE-2025-15504 A security flaw has been discovered in lief-project LIEF up to 0.17.1. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-15504 advisory
- https://github.com/lief-project/LIEF/issues/1277 web
- https://github.com/lief-project/LIEF/issues/1277#issuecomment-3693859001 web
- https://github.com/lief-project/LIEF/commit/81bd5d7ea0c390563f1c4c017c9019d154802978 web
- https://github.com/lief-project/LIEF package
- https://github.com/lief-project/LIEF/releases/tag/0.17.2 web
- https://github.com/oneafter/1210/blob/main/segv1 web
- https://vuldb.com/?ctiid.340375 web
- https://vuldb.com/?id.340375 web
- https://vuldb.com/?submit.733329 web