{"id":2807,"cve":"CVE-2026-119205","cve_url":"https:\/\/www.cvedetails.com\/cve\/CVE-2026-119205\/","cwe":"CWE-835","cwe_number":835,"cwe_url":"https:\/\/cwe.mitre.org\/data\/definitions\/835","cvss_score":7.1,"published":"2026-10-29","owasp":"A08 Software and Data Integrity Failures","odc":"Algorithm","cdc":"Incorrect Algorithm","category":"Resource Management","subcategory":"Resource Exhaustion","scope":"Remote","impact":"Denial of Service (DoS)","summary":"Infinite loop in pypdf when cloning crafted cyclic DictionaryObject (pre\u20116.21.4).","permalink":"https:\/\/netpack.pt\/vaitp\/vulnerability\/CVE-2026-119205\/","description":"pypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can enter an infinite loop when cloning or duplicating a crafted cyclic DictionaryObject. Clone traversal checked generated destination references rather than the original source references, allowing some source cycles to evade the visited-object check. This issue is fixed in version 6.21.4.","solution":"Upgrade pypdf to version\u202f6.21.4\u202for later.","affected_component":"pypdf","fixed_by_upgrading":true,"vulnerable_code":"from pypdf.generic import DictionaryObject, NameObject\n\ndef clone_dict(obj: DictionaryObject) -> DictionaryObject:\n    # VULNERABLE: clone checks generated references, allowing source cycles to loop infinitely\n    return obj.clone()\n","patched_code":"from pypdf.generic import DictionaryObject, NameObject\n\ndef clone_dict(obj: DictionaryObject) -> DictionaryObject:\n    # FIX: pass source reference set to clone to break cycles\n    return obj.clone(visited=set())\n","payload_needed":true,"payload":null,"payload_status":"model_refused","published_fix":[{"repository":"py-pdf\/pypdf","commit_url":"https:\/\/github.com\/py-pdf\/pypdf\/commit\/f176db1a1f7f9af3e472e69a843ef1175653b044","commit_subject":"SEC: Fix loop detection when cloning DictionaryObject (#4288)","units":[{"file":"pypdf\/generic\/_data_structures.py","function":"DictionaryObject._clone"}]}],"references":null}