Live threats

All CVEs / Lief-project

CVE-2022-38495Lief-project Lief

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.3%
probability of exploitation in 30 days · percentile 20
Auth required
Yes
Published
Sep 13, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

LIEF commit 365a16a was discovered to contain a heap-buffer overflow via the function print_binary at /c/macho_reader.c.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lief.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI lief ≤ 0.12.1 no fixed version —
PyPI lief < 0.12.1 0.12.1 pip install "lief>=0.12.1"

Per OSV / GitHub Advisories (GHSA-42vg-2q93-fj6j, PYSEC-2022-276). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lief-projectlief≤ 0.12.1

Official sources

References

Links published by the sources. Open them with care.