Advisory record · GHSA-qfv9-64jg-mh7p

pypdf: Possible infinite loop in PdfWriter.find_outline_item

CVSS 6.0 MediumEPSS 0.0034 · 27th percentile

Published by the GitHub Advisory Database at 21 Oct 2026, 16:55 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pypdfPyPI<6.20.16.20.1
Identifiers
GHSA-qfv9-64jg-mh7p · CVE-2026-113792
Weakness (CWE)
CWE-835
Published
21 Oct 2026
Updated
21 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

pypdf versions before 6.20.1 are vulnerable to an infinite loop in PdfWriter.find_outline_item. An attacker can craft a PDF that triggers the loop when an application calls find_outline_item on a PdfWriter, which can hang the process. Upgrade to pypdf 6.20.1 or later. The source gives no workaround other than applying an unreleased patch, so upgrading is the recommended fix.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.0 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0034, the 27th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 21 Oct 2026, 16:17 UTC Confirmed by NVD
  2. 31 Oct 2026, 14:08 UTC First seen by agentprime
  3. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.