{"id":"CVE-2022-40923","aliases":["GHSA-rm2x-hgr8-w343","PYSEC-2022-43139"],"url":"https://o3.security/vulnerability/CVE-2022-40923","summary":"LIEF vulnerable to denial of service through segmentation fault","details":"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](https://github.com/lief-project/LIEF/commit/24935f654f6df700a9a062298258b9485f584502) is available at commit number 24935f654f6df700a9a062298258b9485f584502.","published":"2022-09-30T18:36:33Z","modified":"2026-10-28T02:31:10.905111425Z","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.00648,"percentile":0.49427,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"lief","fixedVersion":null}],"fix":{"url":"https://github.com/lief-project/LIEF/commit/24935f654f6df700a9a062298258b9485f584502","label":"lief-project/LIEF@24935f6"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40923.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40923"},{"type":"REPORT","url":"https://github.com/lief-project/LIEF/issues/784"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/commit/24935f654f6df700a9a062298258b9485f584502"},{"type":"PACKAGE","url":"https://github.com/lief-project/LIEF"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43139.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:10.905111425Z"}}