CVE-2025-15504
JSON

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 packageVersionsReported by
lief-project LIEF0.17.0, 0.17.1, before 0.17.2
Not affected: 0.17.2
CVE List, NVD
lief (PyPI)before 0.17.2GitHub Advisory Database, PyPA Advisory Database
lief (crates.io)before 0.17.2GitHub Advisory Database

All scores

VulDB4.8medium CVSS:4.0CVSS: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
VulDB3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
VulDB3.3low CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
VulDB1.7low CVSS:2.0AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C
GitHub3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
GitHublow CVSS:4.0CVSS: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
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

CWE-404CWE-476

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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.340375technical-description, third-party-advisory, vdb-entry, web
https://vuldb.com/?ctiid.340375permissions-required, signature, vdb-entry, web
https://vuldb.com/?submit.733329exploit, third-party-advisory, vdb-entry, web
https://github.com/lief-project/LIEF/issues/1277exploit, issue-tracking, patch, web
https://github.com/lief-project/LIEF/issues/1277#issuecomment-3693859001exploit, issue-tracking, patch, web
https://github.com/oneafter/1210/blob/main/segv1exploit, product, web
https://github.com/lief-project/LIEF/commit/81bd5d7ea0c390563f1c4c017c9019d154802978patch, web
https://github.com/lief-project/LIEF/releases/tag/0.17.2patch, release-notes, web
https://github.com/lief-project/LIEF/product
https://nvd.nist.gov/vuln/detail/CVE-2025-15504advisory
https://github.com/lief-project/LIEFpackage
https://pypi.org/project/liefpackage

Sources

SourceRecordLicence
CVE ListCVE-2025-15504 changed 2026-02-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-mjjp-xjfg-97wg changed 2026-07-07CC-BY-4.0
NVDCVE-2025-15504 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1538 changed 2026-07-07CC-BY-4.0