CVE-2026-113790 PUBLISHED

pypdf: Possible large memory usage when parsing arrays and dictionaries

Assigner: GitHub_M
Reserved: 20.10.2026 Published: 21.10.2026 Updated: 21.10.2026

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing arrays or dictionaries with many elements, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor py-pdf
Product pypdf
Versions
  • Version < 6.21.0 is affected

References

Problem Types

  • CWE-400: Uncontrolled Resource Consumption CWE
  • CWE-770: Allocation of Resources Without Limits or Throttling CWE