A vulnerability in the LIEF::MachO::BinaryParser::init_and_parse function of LIEF v0.12.1…
Priority LOW 30Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.00698 53rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed lief (PyPI): 0.12.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | lief (PyPI) | before 0.12.2 | 0.12.2 | Patch available | GHSA-38hf-c37x-32hv |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- lief (PyPI) Vendor— Affected before 0.12.2 Fixed in 0.12.2 Patch available GHSA-38hf-c37x-32hv
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:lief-project:lief:0.12.1:*:*:*:*:*:*:* | 0.12.1 | Vulnerable | lief-project |
- cpe:2.3:a:lief-project:lief:0.12.1:*:*:*:*:*:*:* Versions 0.12.1 Vulnerable ·lief-project
Remediation
- Fix · GHSA-38hf-c37x-32hv lief (PyPI) Fixed in 0.12.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-40922
- 2026-10-03 Alias added: GHSA-38hf-c37x-32hv
References
More lief-project Lief vulnerabilities
- TI-2022-21067 A heap buffer overflow in the LIEF::MachO::BinaryParser::parse_dyldinfo_generic_bind… CVSS 3.1MEDIUM 6.5
- TI-2025-14143 lief-project LIEF ELF Binary Parser.tcc parse_binary null pointer dereference CVSS 4.0MEDIUM 4.8
- TI-2024-20899 An issue in LIEF v.0.14.1 allows a local attacker to obtain sensitive information via the… CVSS 3.1LOW 3.9
- TI-2021-12110 An issue was discovered in LIEF through 0.11.4. CVSS 3.1HIGH 8.8
- TI-2022-18111 LIEF commit 365a16a was discovered to contain a heap-buffer overflow via the function print_binary at /c/macho_reader.c. CVSS 3.1HIGH 7.8
- TI-2022-17963 LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc. CVSS 3.1HIGH 7.8
Sources
- CVE-2022-40922 · CVE Program
- CVE-2022-40922 · NVD
- FIRST EPSS
- GHSA-38hf-c37x-32hv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences