CVE-2026-71852
published 2026-08-07CVE-2026-71852: 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…
PriorityP411low3.3CVSS 3.1
AVLACLPRNUIRSUCNINAL
EPSS
0.13%
2.0th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| py-pdf | pypdf | < 6.15.0 | 6.15.0 |
| pypdf_project | pypdf | < 6.15.0 | 6.15.0 |
| pypdf_project | pypdf | >= 0 < 6.15.0 | 6.15.0 |
CVSS provenance
nvdv3.13.3LOWCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
nvdv4.04.8MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat4.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
pypdf: pypdf: Denial of Service via crafted PDF with large CID font width ranges
vendor_redhat·2026-08-07·CVSS 4.8
CVE-2026-71852 [MEDIUM] CWE-1050 pypdf: pypdf: Denial of Service via crafted PDF with large CID font width ranges
pypdf: pypdf: Denial of Service via crafted PDF with large CID font width ranges
A flaw was found in pypdf. A remote attacker could provide a specially crafted PDF file that, when processed by the Font._collect_cid_character_widths function during text extraction, causes the library to expand unusually large font width ranges. This can lead to excessive memory consumption and long processing times, resulting in a denial of service.
VulDB
py-pdf pypdf up to 6.14.x Font pypdf/_font.py Font._collect_cid_character_widths memory allocation
vuldb·2026-08-07·CVSS 4.8
CVE-2026-71852 [MEDIUM] py-pdf pypdf up to 6.14.x Font pypdf/_font.py Font._collect_cid_character_widths memory allocation
A vulnerability classified as problematic was found in py-pdf pypdf up to 6.14.x. This issue affects the function Font._collect_cid_character_widths of the file pypdf/_font.py of the component Font Handler. The manipulation results in uncontrolled memory allocation.
This vulnerability is reported as CVE-2026-71852. The attack can be launched remotely. No exploit exists.
Upgrading the affected component is advised.
GHSA
pypdf: Possible long runtimes/large memory usage for large CID font width ranges
ghsa·2026-08-07
CVE-2026-71852 [MEDIUM] CWE-834 pypdf: Possible long runtimes/large memory usage for large CID font width ranges
pypdf: Possible long runtimes/large memory usage for large CID font width ranges
### Impact
An attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the font width entries of a font with unusually large values, for example during text extraction.
### Patches
This has been fixed in [pypdf==6.15.0](https://github.com/py-pdf/pypdf/releases/tag/6.15.0).
### Workarounds
If you cannot upgrade yet, consider applying the changes from PR [#3946](https://github.com/py-pdf/pypdf/pull/3946).
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-71852 python-pypdf: pypdf: Denial of Service via crafted PDF with large CID font width ranges [fedora-all]
bugzilla·2026-08-09·CVSS 4.8
CVE-2026-71852 [MEDIUM] CVE-2026-71852 python-pypdf: pypdf: Denial of Service via crafted PDF with large CID font width ranges [fedora-all]
CVE-2026-71852 python-pypdf: pypdf: Denial of Service via crafted PDF with large CID font width ranges [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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.
Bugzilla
CVE-2026-71852 python-PyPDF2: pypdf: Denial of Service via crafted PDF with large CID font width ranges [fedora-all]
bugzilla·2026-08-09·CVSS 4.8
CVE-2026-71852 [MEDIUM] CVE-2026-71852 python-PyPDF2: pypdf: Denial of Service via crafted PDF with large CID font width ranges [fedora-all]
CVE-2026-71852 python-PyPDF2: pypdf: Denial of Service via crafted PDF with large CID font width ranges [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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.
Bugzilla
CVE-2026-71852 pypdf: pypdf: Denial of Service via crafted PDF with large CID font width ranges
bugzilla·2026-08-07·CVSS 4.8
CVE-2026-71852 [MEDIUM] CVE-2026-71852 pypdf: pypdf: Denial of Service via crafted PDF with large CID font width ranges
CVE-2026-71852 pypdf: pypdf: Denial of Service via crafted PDF with large CID font width ranges
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.
2026-08-07
Published