| Package | Affected versions | Patched versions |
|---|---|---|
| pypdf | < 6.21.3 | 6.21.3 |
An attacker who uses this vulnerability can craft a PDF which leads to large runtimes/memory usage. This requires accessing the page count of an encrypted PDF file, which itself declares a wrong /Count value.
This has been fixed in pypdf==6.21.3.
If you cannot upgrade yet, consider applying the changes from PR #4270.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free