LIEF vulnerable to denial of service through segmentation fault
A vulnerability in the LIEF::MachO::SegmentCommand::virtual_address 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 is available at commit number 24935f654f6df700a9a062298258b9485f584502.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | lief | <= 0.12.1 | no fix |
References
- https://github.com/lief-project/LIEF/issues/784
- https://nvd.nist.gov/vuln/detail/CVE-2022-40923
- https://github.com/lief-project/LIEF/commit/24935f654f6df700a9a062298258b9485f584502
- https://github.com/lief-project/LIEF
- https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43139.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H- Weakness (CWE)
-- Platform
- Python (PyPI)
- Package
lief- Disclosed
- 30.09.2022
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2022-43139 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-rm2x-hgr8-w343 - CC BY 4.0
Vulnerability history: lief
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 11
- First → latest
- 09.2021 01.2026
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Medium 5
- Low 2
Disclosures per year
- 2021: 1
- 2022: 8
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 1
-
LIEF vulnerable to denial of service through segmentation fault this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.