Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lief
  4. ›
  5. CVE-2022-43171

CVE-2022-43171: LIEF heap buffer overflow in the LIEF::MachO::BinaryParser::parse_dyldinfo_generic_bind

November 18, 2022 (updated April 29, 2025)

A heap buffer overflow in the LIEF::MachO::BinaryParser::parse_dyldinfo_generic_bind function of LIEF prior to version 0.12.3 allows attackers to cause a Denial of Service (DoS) via a crafted MachO file.

References

  • github.com/advisories/GHSA-jvp9-phwp-p738
  • github.com/lief-project/LIEF
  • github.com/lief-project/LIEF/issues/782
  • github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43140.yaml
  • nvd.nist.gov/vuln/detail/CVE-2022-43171

Code Behaviors & Features

Detect and mitigate CVE-2022-43171 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.3

Fixed versions

  • 0.12.3

Solution

Upgrade to version 0.12.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-122: Heap-based Buffer Overflow
  • CWE-787: Out-of-bounds Write

Source file

pypi/lief/CVE-2022-43171.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.