Skip to content

← Public intelligence

PyPI package

lief

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

7 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Low, CVSS 1.9PyPIAmendedPublished

    LIEF is vulnerable to segmentation fault

    CVE-2025-15504 · GHSA-mjjp-xjfg-97wg

    Affected
    • PyPI lief < 0.17.2
    Fixed in
    0.17.2· Vendor fix available
    Issue
    A security flaw has been discovered in lief-project LIEF up to 0.17.1. Affected by this issue is the function Parser::parsebinary 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.

    Recommended action: Upgrade to 0.17.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Low, CVSS 3.9PyPIAmendedPublished

    LIEF obtain sensitive information via the name parameter

    CVE-2024-31636 · GHSA-377p-g8gr-5wpg

    Affected
    • PyPI lief < 0.15.0
    Fixed in
    0.15.0· Vendor fix available
    Issue
    An issue in LIEF v.0.14.1 allows a local attacker to obtain sensitive information via the name parameter of the machdreader.c component.

    Recommended action: Upgrade to 0.15.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 7.1PyPIAmendedPublished

    LIEF heap buffer overflow in the LIEF::MachO::BinaryParser::parse_dyldinfo_generic_bind

    CVE-2022-43171 · GHSA-jvp9-phwp-p738

    Affected
    • PyPI lief < 0.12.3
    Fixed in
    0.12.3· Vendor fix available
    Issue
    A heap buffer overflow in the LIEF::MachO::BinaryParser::parsedyldinfogenericbind function of LIEF prior to version 0.12.3 allows attackers to cause a Denial of Service (DoS) via a crafted MachO file.

    Recommended action: Upgrade to 0.12.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. High, CVSS 7.1PyPIAmendedPublished

    LIEF vulnerable to denial of service through segmentation fault

    CVE-2022-40922 · GHSA-38hf-c37x-32hv

    Affected
    • PyPI lief <= 0.12.1
    Fixed in
    0.12.2· Vendor fix available
    Issue
    A vulnerability in the LIEF::MachO::BinaryParser::initandparse function of LIEF v0.12.1 allows attackers to cause a denial of service (DOS) through a segmentation fault via a crafted MachO file. A patch for this issue is available at commit fde2c48986739fabd2cf9b40b9af149a89c57850.

    Recommended action: Upgrade to 0.12.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. Medium, CVSS 5.5PyPIAmendedPublished

    LIEF contains segmentation violation

    CVE-2022-38307 · GHSA-x2xx-jw5m-5j86

    Affected
    • PyPI lief < 0.12.1
    Fixed in
    0.12.1· Vendor fix available
    Issue
    LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::fileoffset() at /MachO/SegmentCommand.cpp. Commit 7acf0bc4224081d4f425fcc8b2e361b95291d878 contains a patch.

    Recommended action: Upgrade to 0.12.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Medium, CVSS 5.5PyPIPublished

    PYSEC-2022-43137

    CVE-2022-38496

    Affected
    • PyPI lief < 0.12.2
    Fixed in
    0.12.2· Vendor fix available
    Issue
    LIEF commit 365a16a was discovered to contain a reachable assertion abort via the component BinaryStream.hpp.

    Recommended action: Upgrade to 0.12.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.devSource checked Evidence →
  7. High, CVSS 8.6PyPIAmendedPublished

    LIEF heap-buffer-overflow

    CVE-2021-32297 · GHSA-22x7-vwh9-5w4g

    Affected
    • PyPI lief < 0.11.0
    Fixed in
    0.11.0· Vendor fix available
    Issue
    An issue was discovered in LIEF prior to version 0.11.0. A heap-buffer-overflow exists in the function main located in pereader.c. It allows an attacker to cause code Execution.

    Recommended action: Upgrade to 0.11.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →