CVE-2022-40922
MEDIUM 6.5CVSS 3.1LIEF vulnerable to denial of service through segmentation fault
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.
- Published
- 3 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-38hf-c37x-32hvPYSEC-2022-43138
- Sources
- NVDJSONOSV GHSA-38hf-c37x-32hvJSONOSV PYSEC-2022-43138JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lief-project | liefcpe:2.3:a:lief-project:lief:0.12.1:*:*:*:*:*:*:* |
= 0.12.1 | |
| OSV | PyPI | lief | < 0.12.2 | 0.12.2 |
References
- https://github.com/lief-project/LIEF/issues/781 · Exploit, Issue Tracking, Third Party Advisory, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2022-40922 · ADVISORY
- https://github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af · WEB
- https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850 · WEB
- https://github.com/lief-project/LIEF · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43138.yaml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 3 Oct 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Oct 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Oct 2022)