Skip to main content
← All vulnerabilities
CVE-2023-36810PYSEC-2026-1837GHSA-JRM6-H9CQ-8GQW

Quadratic runtime with malformed PDF missing xref marker in pypdf

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.27.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. An attacker who uses this vulnerability can craft a PDF which leads to unexpected long runtime. This quadratic runtime blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. This issue has been addressed in PR 808 and versions from 1.27.9 include this fix. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • py-pdf pypdf

    fixed in 1.27.9

  • pypdf2PyPI

    fixed in 1.27.9

References 4

GitHub · py-pdf/pypdf

lists.debian.org