CVE-2026-84309: pypdf · Possible infinite loop for TreeObject.insert_child
Affects psutilsSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium : upgrade to 3.3.16_2 when convenient.
Data as of 1 Nov 2026, 00:10 UTC
- Patch
- Available – fixed in 3.3.16_2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.
What to do
Upgrade psutils to 3.3.16_2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpsutilspkg:brew/psutilsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade pypdf to version 3.3.16_2 or later, where this vulnerability is fixed. If immediate upgrade is not feasible, apply the code changes from pull request #3964 as a temporary workaround to mitigate the issue.
Description
CVE-2026-84309 is a vulnerability in pypdf where an attacker can craft a malicious PDF that triggers an infinite loop in the TreeObject.insert_child function. This issue affects versions from 3.0 up to but not including 3.3.16_2. The vulnerability has been fixed in pypdf version 3.3.16_2. If upgrading is not immediately possible, applying the changes from the referenced pull request is recommended as a workaround.
References
- github.com/py-pdf/pypdf/security/advisories/GHSA-jp53-mhqp-8xcg (opens in a new tab)
- github.com/py-pdf/pypdf/pull/3964 (opens in a new tab)
- github.com/py-pdf/pypdf/commit/c9ba557d565d57c53a0b3a0be06c0a4c29b0559b (opens in a new tab)
- github.com/py-pdf/pypdf (opens in a new tab)
- github.com/py-pdf/pypdf/releases/tag/6.16.0 (opens in a new tab)