# CVE-2025-15504: lief-project LIEF ELF Binary Parser.tcc parse_binary null pointer dereference

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2026-01-10T11:32:06.771Z
- Modified: 2026-07-07T17:56:07.869Z
- Also known as: GHSA-mjjp-xjfg-97wg, PYSEC-2026-1538
- Weaknesses: CWE-404, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- lief-project LIEF: 0.17.0; 0.17.1; before 0.17.2 (not affected: 0.17.2)
- lief (PyPI): before 0.17.2
- lief (crates.io): before 0.17.2

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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: CVSS:3.1 3.3 Low `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: CVSS:3.0 3.3 Low `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: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Low `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: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: 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`

## References

- <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://vuldb.com/?id.340375> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.340375> (permissions-required, signature, vdb-entry, 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

- CVE List: [CVE-2025-15504](https://www.cve.org/CVERecord?id=CVE-2025-15504), CVE Terms of Use, modified 2026-02-23
- GitHub Advisory Database: [GHSA-mjjp-xjfg-97wg](https://github.com/advisories/GHSA-mjjp-xjfg-97wg), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-15504](https://nvd.nist.gov/vuln/detail/CVE-2025-15504), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1538](https://osv.dev/vulnerability/PYSEC-2026-1538), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-15504 · Whole record: https://cve.day/CVE-2025-15504.json · Rebuilt by cve.day 2026-11-25T22:59:10.493Z
