# CVE-2022-40923: LIEF vulnerable to denial of service through segmentation fault

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-30T18:36:33.000Z
- Modified: 2026-06-17T05:02:14.413Z
- Also known as: GHSA-rm2x-hgr8-w343, PYSEC-2022-43139
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lief (PyPI): up to 0.12.1
- lief-project lief: 0.12.1

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/lief-project/LIEF/issues/784> (exploit, fix, issue-tracking, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40923> (advisory)
- <https://github.com/lief-project/LIEF/commit/24935f654f6df700a9a062298258b9485f584502> (web)
- <https://github.com/lief-project/LIEF> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43139.yaml> (web)

## Sources

- CVE List: [CVE-2022-40923](https://www.cve.org/CVERecord?id=CVE-2022-40923), CVE Terms of Use, modified 2025-05-20
- GitHub Advisory Database: [GHSA-rm2x-hgr8-w343](https://github.com/advisories/GHSA-rm2x-hgr8-w343), CC-BY-4.0, modified 2024-12-03
- NVD: [CVE-2022-40923](https://nvd.nist.gov/vuln/detail/CVE-2022-40923), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43139](https://osv.dev/vulnerability/PYSEC-2022-43139), CC-BY-4.0, modified 2024-11-25

---

Page: https://cve.day/CVE-2022-40923 · Whole record: https://cve.day/CVE-2022-40923.json · Rebuilt by cve.day 2026-11-25T22:58:15.403Z
