CVE-2022-40922 json
LIEF vulnerable to denial of service through segmentation fault
published 2022-10-03 4 y ago modified 2026-06-17 4 mo ago also GHSA-38hf-c37x-32hv , PYSEC-2022-43138 , EUVD-2022-0143
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi lief 0.12.2
Exploit prediction
0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/lief-project/LIEF/issues/781 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | lief | <0.12.2 |
0.12.2 |
References
-
github.com
/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af
web
-
github.com
/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850
web
-
github.com
/lief-project/LIEF/issues/781
web, exploit, issue-tracking, third-party-advisory, report
-
nvd.nist.gov
/vuln/detail/CVE-2022-40922
advisory
-
github.com
/lief-project/LIEF
package
-
github.com
/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43138.yaml
web
Sources
- CVE List CVE-2022-40922
- GitHub Advisory GHSA-38hf-c37x-32hv
- NVD CVE-2022-40922
- OSV PYSEC-2022-43138
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.