# CVE-2022-43171: LIEF heap buffer overflow in the LIEF::MachO::BinaryParser::parse_dyldinfo_generic_bind

- 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.85%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-17T00:00:00.000Z
- Modified: 2026-06-17T05:06:01.867Z
- Also known as: GHSA-jvp9-phwp-p738, PYSEC-2022-43140
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

A heap buffer overflow in the LIEF::MachO::BinaryParser::parse_dyldinfo_generic_bind function of LIEF v0.12.1 allows attackers to cause a Denial of Service (DoS) via a crafted MachO file.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lief (PyPI): before 0.12.3
- 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 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`
- 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/782> (exploit, patch, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-43171> (advisory)
- <https://github.com/lief-project/LIEF> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43140.yaml> (web)

## Sources

- CVE List: [CVE-2022-43171](https://www.cve.org/CVERecord?id=CVE-2022-43171), CVE Terms of Use, modified 2025-04-29
- GitHub Advisory Database: [GHSA-jvp9-phwp-p738](https://github.com/advisories/GHSA-jvp9-phwp-p738), CC-BY-4.0, modified 2025-04-29
- NVD: [CVE-2022-43171](https://nvd.nist.gov/vuln/detail/CVE-2022-43171), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43140](https://osv.dev/vulnerability/PYSEC-2022-43140), CC-BY-4.0, modified 2024-11-25

---

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