{"id":"CVE-2022-40922","published":"2022-10-03T12:45:20Z","modified":"2024-08-03T12:28:42Z","title":"A vulnerability in the LIEF::MachO::BinaryParser::init_and_parse function of LIEF v0.12.1 allows attackers to cause a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00698,"percentile":0.54006,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/lief-project/LIEF/issues/781","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":10.8}]},"affected":[{"ecosystem":"PyPI","package":"lief","vulnerableRanges":["<0.12.2"],"patched":["0.12.2"],"from":["GHSA-38hf-c37x-32hv","PYSEC-2022-43138"],"provenance":"source"}],"summary":{"text":"The flaw lies in the LIEF::MachO::BinaryParser::init_and_parse function of the LIEF library, version 0.12.1, which parses Mach-O binaries.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:07Z"},"euvd":{"id":"EUVD-2022-0143","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lief-cve-2022-38495","parents":[{"from":"CVE-2022-38495","to":"CVE-2022-40922","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/c/MachO/Parser.cpp","src/MachO/BinaryParser.tcc"],"commits":["https://github.com/lief-project/LIEF/commit/0033b6312fd311b2e45e379c04a83d77c1e58578","https://github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af","https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850"],"basis":"shared function","functions":["parse_load_commands"]}]}],"packageHistory":[{"cve":"CVE-2022-38495","published":"2022-09-13","fixed":"0.12.1","kev":false},{"cve":"CVE-2022-38497","published":"2022-09-13","fixed":"0.12.1","kev":false},{"cve":"CVE-2022-38496","published":"2022-09-13","fixed":"0.12.2","kev":false},{"cve":"CVE-2022-40922","published":"2022-10-03","fixed":"0.12.2","kev":false},{"cve":"CVE-2022-43171","published":"2022-11-17","fixed":"0.12.3","kev":false,"link":{"from":"CVE-2022-40922","to":"CVE-2022-43171","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:lief","fromFixed":"0.12.2","toFixed":"0.12.3","daysApart":45},{"kind":"similar","provenance":"machine","score":0.71,"basis":"same package + description similarity"}]}},{"cve":"CVE-2024-31636","published":"2024-05-03","fixed":"0.15.0","kev":false},{"cve":"CVE-2025-15504","published":"2026-01-10","fixed":"0.17.2","kev":false}],"package":"PyPI:lief"}}