
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27025 is a Denial of Service vulnerability in the pypdf Python PDF library caused by unbounded iteration when parsing /ToUnicode font entries in crafted PDF files. It affects all pypdf versions prior to 6.7.1 and was disclosed on February 17, 2026, by researcher CheonWoong-Park and analyzed by stefan6419846. The vulnerability carries a CVSS v3.1 score of 5.5 (Medium) and a CVSS v4.0 score of 6.9 (Medium) (GitHub Advisory, Red Hat Bugzilla). Downstream products including IBM watsonx Orchestrate Developer Edition and related cartridges are also affected (GitHub Advisory).
The root cause is excessive iteration (CWE-834, CWE-1050) in pypdf's /ToUnicode CMap parsing logic within pypdf/_cmap.py. When processing bfrange or bfchar entries in a font's /ToUnicode stream, the library iterates over all specified character mappings without enforcing an upper bound on the mapping dictionary size. An attacker can craft a PDF with a /ToUnicode entry specifying an extremely large range (e.g., <00000000> <001FFFFF> <00000000>, yielding over 2 million entries) that triggers runaway CPU and memory consumption during text extraction. The fix introduced a MAPPING_DICTIONARY_SIZE_LIMIT of 100,000 entries and a _check_mapping_size() guard that raises a LimitReachedError when exceeded (pypdf commit, pypdf PR #3646).
Successful exploitation causes the affected application to consume excessive CPU cycles and memory, resulting in denial of service — the application becomes unresponsive, hangs, or crashes. There is no impact on confidentiality or integrity; the vulnerability is limited to availability of the system processing the malicious PDF. Applications that automatically process user-supplied PDFs (e.g., document pipelines, AI/ML ingestion workflows) are at elevated risk of service disruption (GitHub Advisory, Red Hat Bugzilla).
No public proof-of-concept exploit code has been observed, and there is no evidence of in-the-wild exploitation as of the time of disclosure (GitHub Advisory). The EPSS score is approximately 0.014% (0th percentile), indicating very low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires only local access and low privileges (CVSS v3.1), though the CVSS v4.0 assessment notes no privileges are required to trigger the condition once a malicious PDF is processed.
/ToUnicode CMap stream that specifies an extremely large bfrange entry, such as <00000000> <001FFFFF> <00000000>, which defines over 2 million character mappings.page.extract_text()), which invokes the parse_bfrange or parse_bfchar functions in pypdf/_cmap.py.LimitReachedError exceptions in patched versions indicating attempted exploitation./ToUnicode CMap streams containing very large bfrange or bfchar entries (e.g., ranges spanning millions of code points).The primary remediation is to upgrade pypdf to version 6.7.1 or later, which enforces a hard limit of 100,000 entries on /ToUnicode mapping dictionaries (GitHub Advisory, pypdf PR #3646). If immediate upgrade is not possible, manually apply the changes from PR #3646 to add the _check_mapping_size() guard. Additional mitigations include restricting PDF processing to trusted sources only, implementing processing timeouts, and monitoring resource consumption during PDF parsing. IBM has released patches for affected watsonx Orchestrate products (IBM Advisory).
The vulnerability was reported by researcher CheonWoong-Park and analyzed and patched by pypdf maintainer stefan6419846 on the same day (February 17, 2026), demonstrating a rapid response from the open-source project (GitHub Advisory). Red Hat tracked the issue via Bugzilla and rated it medium severity (Red Hat Bugzilla). No significant broader media coverage or notable social media discussion has been identified for this vulnerability.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."