pypdf
Affected
- introduced
0, fixed6.15.0(ecosystem)
Fixed versions
6.15.0
Fix
- Fixed version
6.15.0pip install --upgrade pypdf==6.15.0
Advisory
Also known as: CVE-2026-82398, GHSA-fc8x-2rww-xw9m
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.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #3947.
Not rated by the source.
0, fixed 6.15.0 (ecosystem)6.15.0
6.15.0pip install --upgrade pypdf==6.15.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0