Skip to main content
← All vulnerabilities
CVE-2026-119206EUVD-2026-113378

pypdf: Possible long runtimes when retrieving page labels

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.21.3
None on Exploit-DB, Metasploit or GitHub

Summary

pypdf, a free and open-source pure-Python library for working with PDF files, is affected. A specially crafted PDF can cause it to take an excessive amount of time when retrieving page labels, which can slow or stall applications that process such files.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can take excessive time to retrieve page labels from a crafted PDF containing a flat page-label number tree with many ranges. The page_labels property resolves each page independently and repeatedly scans the same /Nums array from the beginning, causing work to grow with both the page count and the number of label ranges. This issue is fixed in version 6.21.3.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • py-pdf pypdf

    fixed in 6.21.3

References 4

GitHub · py-pdf/pypdf