[ CVE-2026-113791 · Published 21 Oct 2026 ]
pypdf: Possible large memory usage when parsing content streams
CVSS 6.0
EPSS <1%Fix available
[ Description ]Official description
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
[ Fixes ]Fixes and patches
- pypdf 6.21.0Fixed version · GitHub Advisories · pip package pypdf: upgrade to 6.21.0 or later (affected < 6.21.0)
[ Packages ]Affected open-source packages
- pypdf pipAffected < 6.21.0 · fixed in 6.21.0 · GHSA-cgf9-327m-v77c