# CVE-2022-44940: Patchelf out-of-bounds read

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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): 1.10%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-19T00:00:00.000Z
- Modified: 2026-09-10T03:49:56.232Z
- Also known as: GHSA-5pcj-3m26-w633, PYSEC-2022-43144, PYSEC-2022-43151
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- patchelf (PyPI): before 0.16.1.0
- patchelf_project patchelf: 0.9
- pypatchelf (PyPI): all versions

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- GitHub: CVSS:3.1 9.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/NixOS/patchelf/pull/419> (exploit, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-44940> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/patchelf/PYSEC-2022-43144.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pypatchelf/PYSEC-2022-43151.yaml> (web)

## Sources

- CVE List: [CVE-2022-44940](https://www.cve.org/CVERecord?id=CVE-2022-44940), CVE Terms of Use, modified 2025-04-17
- GitHub Advisory Database: [GHSA-5pcj-3m26-w633](https://github.com/advisories/GHSA-5pcj-3m26-w633), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-44940](https://nvd.nist.gov/vuln/detail/CVE-2022-44940), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43144](https://osv.dev/vulnerability/PYSEC-2022-43144), CC-BY-4.0, modified 2024-11-25
- PyPA Advisory Database: [PYSEC-2022-43151](https://osv.dev/vulnerability/PYSEC-2022-43151), CC-BY-4.0, modified 2024-11-25

---

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