Low

LIEF is vulnerable to segmentation fault

  • Disclosed: 10.01.2026
  • Updated: 11.10.2026 13:18

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) lief < 0.17.2 0.17.2

References

CVSS score 3.3/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness (CWE)
CWE-404, CWE-476
Platform
Python (PyPI)
Package
lief
Disclosed
10.01.2026
Updated
11.10.2026 13:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-1538 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-mjjp-xjfg-97wg - CC BY 4.0

Vulnerability history: lief

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (11) in the archive
Total entries
11
First → latest
09.2021 01.2026
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • High 4
  • Medium 5
  • Low 2

Disclosures per year

  1. 2021: 1
  2. 2022: 8
  3. 2023: 0
  4. 2024: 1
  5. 2025: 0
  6. 2026: 1
Severity:
  1. LIEF is vulnerable to segmentation fault this entry
    Low · 3.3 CVE-2025-15504 < 0.17.2 0.17.2
  2. High · 6.5 CVE-2022-40922 < 0.12.2 0.12.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.