An attacker who uses this vulnerability can craft a PDF which leads to large memory usage, as MAX_DECLARED_STREAM_LENGTH is sometimes ignored. This requires parsing a content stream without a /Length value.
This has been fixed in pypdf==6.13.3.
If you cannot upgrade yet, consider applying the changes from PR #3871.
{
"cwe_ids": [
"CWE-400",
"CWE-770"
],
"github_reviewed": true,
"github_reviewed_at": "2026-06-18T14:28:49Z",
"nvd_published_at": null,
"severity": "MODERATE"
}