CVE-2026-82398
published 2026-08-31CVE-2026-82398: pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py…
PriorityP429medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
0.52%
43.6th percentile
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| ansible-automation-platform-25 | lightspeed-chatbot-rhel8 | — | — |
| exploit-intelligence-tech-preview | vulnerability-analysis-rhel9 | — | — |
| lightspeed-core | lightspeed-stack-rhel9 | — | — |
| lightspeed-core | rag-tool-cpu-rhel9 | — | — |
| lightspeed-core | rag-tool-cuda-12.9-rhel9 | — | — |
| openshift-lightspeed-tech-preview | lightspeed-rag-tool-rhel9 | — | — |
| openshift-lightspeed | lightspeed-ocp-rag-rhel9 | — | — |
| 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 |
| quay | quay-rhel8 | — | — |
| quay | quay-rhel9 | — | — |
| rhelai3 | bootc-cuda-rhel9 | — | — |
| rhelai3 | bootc-gaudi-rhel9 | — | — |
| rhelai3 | bootc-rocm-rhel9 | — | — |
| rhelai3 | disk-image-cuda-rhel9 | — | — |
| rhoai | odh-llama-stack-core-rhel9 | — | — |
| rhoai | odh-ogx-core-rhel9 | — | — |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvdv4.06.9MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/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_redhat6.9MEDIUM
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.
GHSA
pypdf: Inefficient handling of non-whitespace inputs in read_until_whitespace
ghsa·2026-09-02
CVE-2026-82398 [MEDIUM] CWE-407 pypdf: Inefficient handling of non-whitespace inputs in read_until_whitespace
pypdf: Inefficient handling of non-whitespace inputs in read_until_whitespace
### Impact
An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires a call to `read_until_whitespace` with an input which does not have whitespace for a long time.
### 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 [#3947](https://github.com/py-pdf/pypdf/pull/3947).
VulDB
py-pdf pypdf up to 6.14.x pypdf/_utils.py read_until_whitespace resource consumption (EUVD-2026-68894)
vuldb·2026-09-01·CVSS 6.9
CVE-2026-82398 [MEDIUM] py-pdf pypdf up to 6.14.x pypdf/_utils.py read_until_whitespace resource consumption (EUVD-2026-68894)
A vulnerability identified as problematic has been detected in py-pdf pypdf up to 6.14.x. Affected by this issue is the function read_until_whitespace of the file pypdf/_utils.py. Performing a manipulation results in resource consumption.
This vulnerability is reported as CVE-2026-82398. The attack is possible to be carried out remotely. No exploit exists.
You should upgrade the affected component.
Red Hat
pypdf: pypdf: Denial of Service via inefficient handling of non-whitespace inputs
vendor_redhat·2026-08-31·CVSS 6.9
CVE-2026-82398 [MEDIUM] CWE-1046 pypdf: pypdf: Denial of Service via inefficient handling of non-whitespace inputs
pypdf: pypdf: Denial of Service via inefficient handling of non-whitespace inputs
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.
A flaw was found in pypdf. An attacker can craft a PDF that causes long runtimes when the `read_until_whitespace` function processes a stream containing a long sequence of bytes without whitespace. This occurs due to inefficient algorithmic complexity, where the function rep
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-82398 python-pypdf: pypdf: Denial of Service via inefficient handling of non-whitespace inputs [fedora-all]
bugzilla·2026-09-04·CVSS 6.9
CVE-2026-82398 [MEDIUM] CVE-2026-82398 python-pypdf: pypdf: Denial of Service via inefficient handling of non-whitespace inputs [fedora-all]
CVE-2026-82398 python-pypdf: pypdf: Denial of Service via inefficient handling of non-whitespace inputs [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, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.
Bugzilla
CVE-2026-82398 python-PyPDF2: pypdf: Denial of Service via inefficient handling of non-whitespace inputs [fedora-all]
bugzilla·2026-09-04·CVSS 6.9
CVE-2026-82398 [MEDIUM] CVE-2026-82398 python-PyPDF2: pypdf: Denial of Service via inefficient handling of non-whitespace inputs [fedora-all]
CVE-2026-82398 python-PyPDF2: pypdf: Denial of Service via inefficient handling of non-whitespace inputs [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, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.
Bugzilla
CVE-2026-82398 pypdf: pypdf: Denial of Service via inefficient handling of non-whitespace inputs
bugzilla·2026-08-31·CVSS 6.9
CVE-2026-82398 [MEDIUM] CVE-2026-82398 pypdf: pypdf: Denial of Service via inefficient handling of non-whitespace inputs
CVE-2026-82398 pypdf: pypdf: Denial of Service via inefficient handling of non-whitespace inputs
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.
2026-08-31
Published