Advisory

GHSA-mjjp-xjfg-97wg

Also known as: CVE-2025-15504, PYSEC-2026-1538

Summary

LIEF is vulnerable to segmentation fault

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-01-10 12:30 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

lief

PyPI · All systems

Affected

  • introduced 0, fixed 0.17.2 (ecosystem)

Fixed versions

0.17.2

Fix

  • Fixed version 0.17.2
    pip install --upgrade lief==0.17.2

lief

crates.io · All systems

Affected

  • introduced 0, fixed 0.17.2 (semver)

Fixed versions

0.17.2

Fix

  • Fixed version 0.17.2
    cargo update -p lief --precise 0.17.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences