# CVE-2026-71852: pypdf: Possible long runtimes/large memory usage for large CID font width ranges

- 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-07T18:53:46.083Z
- Modified: 2026-11-02T16:06:04.477Z
- Also known as: GHSA-fwg2-594c-jp42, PYSEC-2026-3656
- Weaknesses: CWE-834
- 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 long runtimes and large memory consumption when pypdf/_font.py function Font._collect_cid_character_widths expands unusually large CID font /W width ranges or excessive width entries 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-fwg2-594c-jp42> (patch, vendor-advisory, web)
- <https://github.com/py-pdf/pypdf/pull/3946> (patch, web)
- <https://github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7> (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-fwg2-594c-jp42> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-71852> (advisory)

## Sources

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

---

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