Live threats

All CVEs / Lief-project

CVE-2022-40922Lief-project Lief

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 54
Auth required
No
Published
Oct 3, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

A vulnerability in the LIEF::MachO::BinaryParser::init_and_parse function of LIEF v0.12.1 allows attackers to cause a denial of service (DOS) through a segmentation fault via a crafted MachO file.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lief.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI lief < 0.12.2 0.12.2 pip install "lief>=0.12.2"
PyPI lief < 0.12.2 0.12.2 pip install "lief>=0.12.2"

Per OSV / GitHub Advisories (GHSA-38hf-c37x-32hv, PYSEC-2022-43138). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lief-projectlief0.12.1

Official sources

References

Links published by the sources. Open them with care.

  • github.com Exploit Issue Tracking Third Party Advisory