Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2022-43171
Python vulnerability analysis and mitigation

Overview

A heap buffer overflow vulnerability was discovered in LIEF v0.12.1, specifically in the LIEF::MachO::BinaryParser::parse_dyldinfo_generic_bind function. The vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted MachO file. This issue was reported on September 11, 2022 (LIEF Issue).

Technical details

The vulnerability exists in the parse_dyldinfo_generic_bind function at MachO/BinaryParser.tcc:1629. When processing a malformed MachO file, the function performs an out-of-bounds read operation, leading to a heap buffer overflow. The issue was confirmed using Address Sanitizer (ASAN) which detected a READ overflow of size 8 at a heap-allocated memory region (LIEF Issue).

Impact

The vulnerability can be exploited to cause a Denial of Service (DoS) condition by processing a specially crafted MachO file. When triggered, the application crashes due to the heap buffer overflow, potentially disrupting services that rely on LIEF for MachO file parsing (NVD).

Exploitability

The vulnerability can be triggered by processing a specially crafted MachO file. A proof of concept (PoC) exploit has been publicly disclosed, demonstrating the ability to cause the application to crash. The attack requires the victim to process a malicious MachO file using the affected LIEF version (LIEF Issue).

Mitigation and workarounds

Users should upgrade to a version of LIEF newer than v0.12.1 that contains the fix for this vulnerability. No specific workarounds have been documented for users who cannot upgrade (NVD).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66455CRITICAL9.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-63374CRITICAL9.3
  • Python logoPython
  • python-anyio
NoYesSep 18, 2026
CVE-2026-59163CRITICAL9.1
  • Python logoPython
  • mnemosyne-memory
NoYesSep 18, 2026
CVE-2026-33625HIGH8.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-64847MEDIUM6.8
  • Python logoPython
  • litellm-1.90
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management