PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-113793 py-pdf CVE debrief

CVE-2026-113793 is a vulnerability in the pypdf library that can cause an infinite loop when removing tree items from a PDF. This issue has been fixed in pypdf version 6.20.1. Users should upgrade to this version or apply the changes from PR #4188 as a workaround. The vulnerability is related to the library's handling of tree items in PDFs, which can lead to an infinite loop if not properly mitigated. Defenders should prioritize upgrading to the fixed version to prevent potential infinite loops when processing PDFs.

Vendor
py-pdf
Product
pypdf
CVSS
MEDIUM 6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-21
Original CVE updated
2026-10-21
Advisory published
2026-10-21
Advisory updated
2026-10-21

Who should care

Defenders responsible for processing PDFs using the pypdf library should be aware of this vulnerability and take steps to mitigate it. This includes upgrading to the fixed version or applying the changes from PR #4188. Defenders should also review the source item and the official advisory for more information on the vulnerability and the available fixes. Additionally, defenders should prioritize upgrading to the fixed version to prevent potential infinite

Why it matters

CVE-2026-113793 is a vulnerability in the pypdf library that can cause an infinite loop when removing tree items from a PDF. Defenders should prioritize upgrading to pypdf version 6.20.1 or applying the changes from PR #4188 to prevent potential infinite loops when processing PDFs.

  • Potential denial of service due to infinite loop
  • Increased risk of PDF processing failures

Technical summary

The pypdf library is vulnerable to an infinite loop when removing tree items from a PDF. This can be exploited by crafting a malicious PDF that triggers this issue. The vulnerability is related to the library's handling of tree items in PDFs, which can lead to an infinite loop if not properly mitigated. Defenders should prioritize upgrading to the fixed version to prevent potential infinite loops when processing PDFs. The vulnerability can be mitigated by upgrading to pypdf version 6.20.1 or applying the changes from PR #4188.

Defensive priority

Defenders should prioritize upgrading to pypdf version 6.20.1 or applying the changes from PR #4188 to prevent potential infinite loops when processing PDFs.

Recommended defensive actions

  • Upgrade to pypdf version 6.20.1
  • Apply changes from PR #4188 as a workaround
  • Review PDF processing code for potential infinite loops
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The vulnerability is described in the source item as a possible infinite loop when removing tree items from a PDF. The fix is available in pypdf version 6.20.1. The source item provides a detailed description of the issue, including the affected versions and the fixed version. Defenders should review the source item and the official advisory for more information on the vulnerability and the available fixes.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-113793 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-113793

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-113793 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-113793

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • pypdf: Possible infinite loop when removing tree items

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-9mx8-4j7g-633p.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/py-pdf/pypdf/security/advisories/GHSA-9mx8-4j7g-633p

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/py-pdf/pypdf/pull/4188

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/py-pdf/pypdf

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/py-pdf/pypdf/releases/tag/6.20.1

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.