CVE-2025-15504 json
lief-project LIEF ELF Binary Parser.tcc parse_binary null pointer dereference
published 2026-01-10 9 mo ago modified 2026-07-07 4 mo ago also GHSA-mjjp-xjfg-97wg , PYSEC-2026-1538 , EUVD-2026-1850
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi lief 0.17.2
- crates.io lief 0.17.2
- lief-project LIEF 0.17.2
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/lief-project/LIEF/issues/1277 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/lief-project/LIEF/issues/1277#issuecomment-3693859001 referenced PoC, tagged "exploit" by a source, unverified
- vuldb.com https://vuldb.com/?submit.733329 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/oneafter/1210/blob/main/segv1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 4.8 | 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 |
| CNA | 3.1 | 3.3 | 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 |
| CNA | 3.0 | 3.3 | 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 |
| CNA | 2.0 | 1.7 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C |
| CNA | 4.0 | 1.9 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 2.0 | 1.7 | AV:L/AC:L/Au:S/C:N/I:N/A:P |
| OSV | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | lief | <0.17.2 |
0.17.2 |
| crates.io | lief | <0.17.2 |
0.17.2 |
Affected products
- lief-project LIEF
Classification
References
-
github.com
/lief-project/LIEF/commit/81bd5d7ea0c390563f1c4c017c9019d154802978
patch, web
-
github.com
/lief-project/LIEF/releases/tag/0.17.2
patch, web, release-notes
-
github.com
/lief-project/LIEF/issues/1277
issue-tracking, exploit, web, patch
-
github.com
/lief-project/LIEF/issues/1277#issuecomment-3693859001
issue-tracking, exploit, web, patch
-
vuldb.com
/?submit.733329
third-party-advisory, exploit, web, vdb-entry
-
github.com
/oneafter/1210/blob/main/segv1
exploit, web, product
-
vuldb.com
/?id.340375
vdb-entry, technical-description, web, third-party-advisory
-
vuldb.com
/?ctiid.340375
signature, permissions-required, web, vdb-entry
-
github.com
/lief-project/LIEF/
product
-
nvd.nist.gov
/vuln/detail/CVE-2025-15504
advisory
-
github.com
/lief-project/LIEF
package
-
pypi.org
/project/lief
package
-
github.com
/advisories/GHSA-mjjp-xjfg-97wg
advisory
Sources
- CVE List CVE-2025-15504
- GitHub Advisory GHSA-mjjp-xjfg-97wg
- NVD CVE-2025-15504
- OSV PYSEC-2026-1538
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.