{"id":"CVE-2022-40922","aliases":["CVE-2022-40922","GHSA-38hf-c37x-32hv","PYSEC-2022-43138"],"related":[],"kind":"vulnerability","state":"published","title":"LIEF vulnerable to denial of service through segmentation fault","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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. A [patch](https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850) for this issue is available at commit fde2c48986739fabd2cf9b40b9af149a89c57850.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad en la función LIEF::MachO::BinaryParser::init_and_parse de LIEF versión v0.12.1, permite a atacantes causar una denegación de servicio (DOS) mediante un fallo de segmentación por medio de un archivo MachO diseñado","source":"nvd"}],"published":"2022-10-03T12:45:20.000Z","modified":"2026-06-17T05:02:14.293Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.2"}],"ecosystem":"PyPI","package":"lief","purl":"pkg:pypi/lief","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.12.1"}],"vendor":"lief-project","product":"lief","cpe":"cpe:2.3:a:lief-project:lief:0.12.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.2"}],"ecosystem":"PyPI","package":"lief","purl":"pkg:pypi/lief","source":"pysec"}],"references":[{"url":"https://github.com/lief-project/LIEF/issues/781","tags":["exploit","issue-tracking","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40922","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/lief-project/LIEF","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43138.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-40922","url":"https://www.cve.org/CVERecord?id=CVE-2022-40922","licence":"CVE Terms of Use","modified":"2024-08-03T12:28:42.957Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-38hf-c37x-32hv","url":"https://github.com/advisories/GHSA-38hf-c37x-32hv","licence":"CC-BY-4.0","modified":"2024-12-07T05:31:53.881Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-40922","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40922","licence":"Public domain","modified":"2026-06-17T05:02:14.293Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-43138","url":"https://osv.dev/vulnerability/PYSEC-2022-43138","licence":"CC-BY-4.0","modified":"2024-11-25T22:42:17.223Z"}],"updatedAt":"2026-11-25T22:58:15.409Z","epss":{"score":0.00713,"percentile":0.54863,"date":"2026-12-01T12:00:22.000Z"}}