{"id":"CVE-2022-40922","aliases":["GHSA-38hf-c37x-32hv","PYSEC-2022-43138"],"url":"https://o3.security/vulnerability/CVE-2022-40922","summary":"LIEF vulnerable to denial of service through segmentation fault","details":"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](https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850) for this issue is available at commit fde2c48986739fabd2cf9b40b9af149a89c57850.","published":"2022-10-03T12:45:20Z","modified":"2026-10-28T02:31:10.498669159Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},"epss":{"score":0.00627,"percentile":0.47853,"asOf":"2026-09-08"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"lief","fixedVersion":"0.12.2"}],"fix":{"url":"https://github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af","label":"lief-project/LIEF@ad81191"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40922.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40922"},{"type":"REPORT","url":"https://github.com/lief-project/LIEF/issues/781"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850"},{"type":"PACKAGE","url":"https://github.com/lief-project/LIEF"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43138.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:10.498669159Z"}}