ADVISORIES

PyPA Advisory Database

PYSEC-2026-1538

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.

Affected packages

EcosystemPackageAffected versions
PyPIlief
All versions before 0.17.2 (fixed in 0.17.2)

References