GHSA-jrm6-h9cq-8gqw

    Dashboard / Vulnerabilities / GHSA-jrm6-h9cq-8gqw

    GHSA-jrm6-h9cq-8gqw

    Published: 30 Jun 2023Last Modified: 7 Jul 2026

    Summary: PyPDF2 quadratic runtime with malformed PDF missing xref marker

    Details: ### Impact An attacker who uses this vulnerability can craft a PDF which leads to unexpected long runtime. This quadratic runtime blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. ### Patches https://github.com/py-pdf/pypdf/pull/808 ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ ### References * [PyPDF2 PR #808](https://github.com/py-pdf/pypdf/pull/808) * [PyPDF2 Issue #582](https://github.com/py-pdf/pypdf/issues/582)

    Affected packages

    Package

    Name: pypdf2

    Purl: pkg:pypi/pypdf2

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.27.9

    Affected versions

    1.15

    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
    GHSA-jrm6-h9cq-8gqw | CVE-DB