Home / lief-project / LIEF / CVE-2025-15504
CVE-2025-15504: is it exploited, and which versions of lief-project LIEF are affected and fixed?
CVE-2025-15504 is a NULL pointer dereference (crash) vulnerability in lief-project LIEF. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: lief before 0.17.2 (GitHub advisory GHSA-mjjp-xjfg-97wg). Fixed in 0.17.2 (GitHub advisory GHSA-mjjp-xjfg-97wg). Severity: Medium (4.8, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:14 UTC.
What is CVE-2025-15504?
lief-project LIEF ELF Binary Parser.tcc parse_binary null pointer dereference
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.
From the CVE record by VulDB, last updated February 23, 2026, 08:28 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lief-project | LIEF | 0.17.0 0.17.1 | 0.17.2 |
As the CVE record by VulDB states it, last updated February 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | lief | < 0.17.2 | 0.17.2 | GHSA-mjjp-xjfg-97wg |
| crates.io | lief | < 0.17.2 | 0.17.2 | GHSA-mjjp-xjfg-97wg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 23, 2026. Summary: LIEF is vulnerable to segmentation fault.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| lief-project | lief | before 0.17.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 08:37 UTC.
How severe is CVE-2025-15504?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.8 | 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 |
| Low 3.3 | 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 |
| Low 3.3 | 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 |
| Low 1.7 | CVSS 2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-15504 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, January 12, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 19.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- VDB-340375 | lief-project LIEF ELF Binary Parser.tcc parse_binary null pointer dereference vdb-entry, technical-description
- VDB-340375 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #733329 | lief-project LIEF 9698ea6 Memory Corruption third-party-advisory
- https://github.com/lief-project/LIEF/issues/1277 issue-tracking
- https://github.com/lief-project/LIEF/issues/1277#issuecomment-3693859001 issue-tracking
- https://github.com/oneafter/1210/blob/main/segv1 exploit
- https://github.com/lief-project/LIEF/commit/81bd5d7ea0c390563f1c4c017c9019d154802978 patch
- https://github.com/lief-project/LIEF/releases/tag/0.17.2 patch
- https://github.com/lief-project/LIEF/ product
Who found and reported it?
- Oneafter (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 9, 2026
- Published
- January 10, 2026, 11:32 UTC
- CVE record updated
- February 23, 2026, 08:28 UTC by VulDB
- NVD
- Modified, last modified June 17, 2026, 08:37 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect LIEF?
- May 3, 2024CVE-2024-31636 Lief-project Lief: use of uninitialized variable
- Nov 17, 2022CVE-2022-43171 Lief-project Lief: out-of-bounds write (memory corruption)
- Oct 3, 2022CVE-2022-40922 Lief-project Lief: n/a
- Sep 30, 2022CVE-2022-40923 Lief-project Lief: improper input validation
- Sep 13, 2022CVE-2022-38497 Lief-project Lief: NULL pointer dereference (crash)
- Sep 13, 2022CVE-2022-38496 Lief-project Lief: reachable assertion (crash)
- Sep 13, 2022CVE-2022-38495 Lief-project Lief: out-of-bounds write (memory corruption)
- Sep 13, 2022CVE-2022-38307 Lief-project Lief: NULL pointer dereference (crash)
Questions about CVE-2025-15504
Is CVE-2025-15504 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of lief-project LIEF are affected by CVE-2025-15504?
lief before 0.17.2, per the GitHub advisory GHSA-mjjp-xjfg-97wg. The tables above give every range the sources list.
Which version fixes CVE-2025-15504?
0.17.2, per the GitHub advisory GHSA-mjjp-xjfg-97wg. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-15504?
Medium (4.8, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2025-15504?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.