{"id":"CVE-2022-40923","aliases":["EUVD-2022-0144","GHSA-rm2x-hgr8-w343","PYSEC-2022-43139"],"status":"published","title":"LIEF vulnerable to denial of service through segmentation fault","description":"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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00778,"percentile":0.56151,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2022-09-30T18:36:33Z","modified":"2026-10-28T02:31:10Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.12.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.12.1"}]}],"versions":["0.10.0","0.10.1","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.12.0","0.12.1","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0"]},{"source":"osv","ecosystem":"PyPI","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.12.1"}]}],"versions":["0.10.0","0.10.1","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.12.0","0.12.1","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0"]}],"products":[{"vendor":"lief-project","product":"lief"}],"references":[{"url":"https://github.com/lief-project/LIEF/issues/784","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report","web","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40923","tags":["advisory"]},{"url":"https://github.com/lief-project/LIEF/commit/24935f654f6df700a9a062298258b9485f584502","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43139.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rm2x-hgr8-w343"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40923.json","tags":["advisory"]},{"url":"https://github.com/lief-project/LIEF","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-40923","description":"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.","status":"published","published":"2022-09-30T18:36:33Z","modified":"2025-05-20T15:49:09.574Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"adp"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:34:30.842561Z"}],"euvd":[{"id":"EUVD-2022-0144","description":"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.","status":"published","published":"2022-09-30T18:36:33Z","modified":"2025-05-20T15:49:09Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T20:32:43.363755Z"}],"ghsa":[{"id":"GHSA-rm2x-hgr8-w343","title":"LIEF vulnerable to denial of service through segmentation fault","description":"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.","status":"published","published":"2022-10-01T00:00:18Z","modified":"2024-11-22T17:54:23Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T14:38:22.774145Z"}],"nvd":[{"id":"CVE-2022-40923","description":"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.","status":"published","published":"2022-09-30T19:15:16.057Z","modified":"2026-06-17T05:02:14.413Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"CVE-2022-40923","description":"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.","status":"published","published":"2022-09-30T18:36:33Z","modified":"2026-10-28T02:31:10.905111425Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:26.860704Z"},{"id":"GHSA-rm2x-hgr8-w343","title":"LIEF vulnerable to denial of service through segmentation fault","description":"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.","status":"published","published":"2022-10-01T00:00:18Z","modified":"2024-12-03T05:59:47.320574Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:46:55.877614Z"},{"id":"PYSEC-2022-43139","description":"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.","status":"published","published":"2022-09-30T19:15:00Z","modified":"2024-11-25T22:42:22.400966Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:53.449407Z"}]}}
