4.8medium
lief-project LIEF ELF Binary Parser.tcc parse_binary null pointer dereference
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-mjjp-xjfg-97wgPYSEC-2026-1538
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| lief-project LIEF | 0.17.0, 0.17.1, before 0.17.2 Not affected: 0.17.2 | CVE List, NVD |
| lief (PyPI) | before 0.17.2 | GitHub Advisory Database, PyPA Advisory Database |
| lief (crates.io) | before 0.17.2 | GitHub Advisory Database |
All scores
| VulDB | 4.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C |
| VulDB | 3.3low CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C |
| VulDB | 1.7low CVSS:2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C |
| GitHub | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha descubierto una falla de seguridad en lief-project LIEF hasta la versión 0.17.1. Afectada por este problema es la función Parser::parse_binary del archivo src/ELF/Parser.tcc del componente ELF Binary Parser. La manipulación resulta en una desreferencia de puntero nulo. El ataque debe ser iniciado desde una posición local. El exploit ha sido liberado al público y puede ser usado para ataques. Actualizar a la versión 0.17.2 puede resolver este problema. El parche se identifica como 81bd5d7ea0c390563f1c4c017c9019d154802978. Se recomienda actualizar el componente afectado.
References
| https://vuldb.com/?id.340375 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.340375 | permissions-required, signature, vdb-entry, web | |
| https://vuldb.com/?submit.733329 | exploit, third-party-advisory, vdb-entry, web | |
| https://github.com/lief-project/LIEF/issues/1277 | exploit, issue-tracking, patch, web | |
| https://github.com/lief-project/LIEF/issues/1277#issuecomment-3693859001 | exploit, issue-tracking, patch, web | |
| https://github.com/oneafter/1210/blob/main/segv1 | exploit, product, web | |
| https://github.com/lief-project/LIEF/commit/81bd5d7ea0c390563f1c4c017c9019d154802978 | patch, web | |
| https://github.com/lief-project/LIEF/releases/tag/0.17.2 | patch, release-notes, web | |
| https://github.com/lief-project/LIEF/ | product | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-15504 | advisory | |
| https://github.com/lief-project/LIEF | package | |
| https://pypi.org/project/lief | package | |
| https://github.com/advisories/GHSA-mjjp-xjfg-97wg | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-15504 changed 2026-02-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mjjp-xjfg-97wg changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-15504 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1538 changed 2026-07-07 | CC-BY-4.0 |