# CVE-2026-71870: pypdf: Possible large memory usage for large /ToUnicode streams

- Severity: Medium 4.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- 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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-07T19:28:26.178Z
- Modified: 2026-11-02T16:06:04.477Z
- Also known as: GHSA-fp3f-mc75-235c, PYSEC-2026-3655
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code or destination-string tokens in a font /ToUnicode CMap during text extraction. This issue is fixed in 6.15.0.

(As written by CVE List.)

## Affected

- py-pdf pypdf: < 6.15.0; before 6.15.0
- pypdf (PyPI): before 6.15.0

## Every score

- GitHub_M: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3f-mc75-235c> (patch, vendor-advisory, web)
- <https://github.com/py-pdf/pypdf/pull/3944> (patch, web)
- <https://github.com/py-pdf/pypdf/commit/afba8080e19d29a3c256a742b340995e695b35aa> (patch, web)
- <https://github.com/py-pdf/pypdf/releases/tag/6.15.0> (release-notes, web)
- <https://github.com/py-pdf/pypdf> (package)
- <https://pypi.org/project/pypdf> (package)
- <https://github.com/advisories/GHSA-fp3f-mc75-235c> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-71870> (advisory)

## Sources

- CVE List: [CVE-2026-71870](https://www.cve.org/CVERecord?id=CVE-2026-71870), CVE Terms of Use, modified 2026-08-10
- GitHub Advisory Database: [GHSA-fp3f-mc75-235c](https://github.com/advisories/GHSA-fp3f-mc75-235c), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-71870](https://nvd.nist.gov/vuln/detail/CVE-2026-71870), Public domain, modified 2026-11-02
- PyPA Advisory Database: [PYSEC-2026-3655](https://osv.dev/vulnerability/PYSEC-2026-3655), CC-BY-4.0, modified 2026-08-10

---

Page: https://cve.day/CVE-2026-71870 · Whole record: https://cve.day/CVE-2026-71870.json · Rebuilt by cve.day 2026-11-25T22:59:31.885Z
