GHSA-jp53-mhqp-8xcg

    Dashboard / Vulnerabilities / GHSA-jp53-mhqp-8xcg

    GHSA-jp53-mhqp-8xcg

    Published: 1 Sept 2026Last Modified: 1 Sept 2026

    Summary: pypdf: Possible infinite loop for TreeObject.insert_child

    Details: ### Impact An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires a (usually writing) code path where `TreeObject.insert_child` is involved. ### Patches This has been fixed in [pypdf==6.16.0](https://github.com/py-pdf/pypdf/releases/tag/6.16.0). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#3964](https://github.com/py-pdf/pypdf/pull/3964).

    Affected packages

    Package

    Name: pypdf

    Purl: pkg:pypi/pypdf

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -6.16.0

    Affected versions

    1.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High