{"uuid": "c1501691-1dc4-43c5-ba06-6cc7e173584c", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "GHSA-fwg2-594c-jp42", "type": "seen", "source": "https://gist.github.com/alon710/81b96826f50cad7313904ff9c7c75f2e", "content": "# CVE-2026-71852: CVE-2026-71852: Denial of Service via Excessive Iteration and Memory Exhaustion in pypdf CID Font Parsing\n\n&gt; **CVSS Score:** 4.8\n&gt; **Published:** 2026-08-07\n&gt; **Full Report:** https://cvereports.com/reports/CVE-2026-71852\n\n## Summary\nA Denial of Service (DoS) vulnerability exists in pypdf prior to version 6.15.0. When parsing maliciously crafted PDF files containing excessively large CID font width ranges, the library suffers from CPU starvation and memory exhaustion due to unconstrained loop expansion.\n\n## TL;DR\nUnconstrained CID font width expansion in pypdf leads to application hang and OOM crashes.\n\n## Technical Details\n\n- **CWE ID**: CWE-834\n- **Attack Vector**: Local\n- **CVSS v4.0**: 4.8\n- **Impact**: Denial of Service (DoS)\n- **Exploit Status**: none\n- **KEV Status**: Not Listed\n\n## Affected Systems\n\n- Any Python application or backend service utilizing pypdf versions prior to 6.15.0 to extract text, parse metadata, or merge PDF documents.\n- **pypdf**: &lt; 6.15.0 (Fixed in: `6.15.0`)\n\n## Mitigation\n\n- Upgrade pypdf to 6.15.0 or later.\n- Implement process memory constraints via Docker or cgroups.\n- Apply input-size limits on uploaded PDF files.\n\n**Remediation Steps:**\n1. Identify all environments using pypdf.\n2. Execute 'pip install --upgrade pypdf&gt;=6.15.0'.\n3. Verify that parsing tasks do not fail on legitimate PDFs.\n4. Apply application-level timeouts and sandbox boundaries for document processing workers.\n\n## References\n\n- [https://github.com/py-pdf/pypdf/security/advisories/GHSA-fwg2-594c-jp42](https://github.com/py-pdf/pypdf/security/advisories/GHSA-fwg2-594c-jp42)\n- [https://github.com/py-pdf/pypdf/pull/3946](https://github.com/py-pdf/pypdf/pull/3946)\n- [https://github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7](https://github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7)\n- [https://github.com/py-pdf/pypdf/releases/tag/6.15.0](https://github.com/py-pdf/pypdf/releases/tag/6.15.0)\n- [https://www.cve.org/CVERecord?id=CVE-2026-71852](https://www.cve.org/CVERecord?id=CVE-2026-71852)\n\n\n---\n*Generated by [CVEReports](https://cvereports.com/reports/CVE-2026-71852) - Automated Vulnerability Intelligence*", "creation_timestamp": "2026-08-07T19:36:23.928542Z"}