{"id":"CVE-2022-40922","aliases":["EUVD-2022-0143","GHSA-38hf-c37x-32hv","PYSEC-2022-43138"],"status":"published","title":"LIEF vulnerable to denial of service through segmentation fault","description":"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.","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-10","score":0.00698,"percentile":0.53425,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2022-10-03T12:45:20Z","modified":"2026-10-28T02:31:10Z","fixes":[{"ecosystem":"PyPI","package":"lief","fixed_in":["0.12.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.12.1"},{"fixed":"0.12.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.2"}]}],"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"},{"fixed":"0.12.2"}]}],"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/781","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40922","tags":["advisory"]},{"url":"https://github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af","tags":["web"]},{"url":"https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43138.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-38hf-c37x-32hv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40922.json","tags":["advisory"]},{"url":"https://github.com/lief-project/LIEF","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-40922","description":"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.","status":"published","published":"2022-10-03T12:45:20Z","modified":"2024-08-03T12:28:42.957Z","updated_at":"2026-11-02T14:34:30.842561Z"}],"euvd":[{"id":"EUVD-2022-0143","description":"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.","status":"published","published":"2022-10-03T12:45:20Z","modified":"2024-08-03T12:28:42Z","updated_at":"2026-11-03T03:25:20.207751Z"}],"ghsa":[{"id":"GHSA-38hf-c37x-32hv","title":"LIEF vulnerable to denial of service through segmentation fault","description":"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.","status":"published","published":"2022-10-04T00:00:25Z","modified":"2024-11-26T18:47:29Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high"},{"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:23.575854Z"}],"nvd":[{"id":"CVE-2022-40922","description":"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.","status":"published","published":"2022-10-03T13:15:12.023Z","modified":"2026-06-17T05:02:14.293Z","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"}],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"GHSA-38hf-c37x-32hv","title":"LIEF vulnerable to denial of service through segmentation fault","description":"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.","status":"published","published":"2022-10-04T00:00:25Z","modified":"2024-12-07T05:31:53.881996Z","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"},{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"updated_at":"2026-11-02T15:46:35.406455Z"},{"id":"PYSEC-2022-43138","description":"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.","status":"published","published":"2022-10-03T13:15:00Z","modified":"2024-11-25T22:42:17.223426Z","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"},{"id":"CVE-2022-40922","description":"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.","status":"published","published":"2022-10-03T12:45:20Z","modified":"2026-10-28T02:31:10.498669159Z","updated_at":"2026-11-02T15:44:26.860704Z"}]}}
