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

CVE-2022-40922: LIEF vulnerable to denial of service through segmentation fault

October 4, 2022 (updated November 26, 2024)

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. A patch for this issue is available at commit fde2c48986739fabd2cf9b40b9af149a89c57850.

References

  • github.com/advisories/GHSA-38hf-c37x-32hv
  • github.com/lief-project/LIEF
  • github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af
  • github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850
  • github.com/lief-project/LIEF/issues/781
  • github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43138.yaml
  • nvd.nist.gov/vuln/detail/CVE-2022-40922

Code Behaviors & Features

Detect and mitigate CVE-2022-40922 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.2

Fixed versions

  • 0.12.2

Solution

Upgrade to version 0.12.2 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

Source file

pypi/lief/CVE-2022-40922.yml

Spotted a mistake? Edit the file on GitLab.

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

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