PYSEC-2026-3912

    Dashboard / Vulnerabilities / PYSEC-2026-3912

    PYSEC-2026-3912

    Published: 10 Sept 2026Last Modified: 10 Sept 2026

    Summary: pypdf: Inefficient handling of non-whitespace inputs in read_until_whitespace

    Details: ### Impact An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires a call to `read_until_whitespace` with an input which does not have whitespace for a long time. ### Patches This has been fixed in [pypdf==6.15.0](https://github.com/py-pdf/pypdf/releases/tag/6.15.0). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#3947](https://github.com/py-pdf/pypdf/pull/3947).

    Affected packages

    Package

    Name: pypdf

    Purl: pkg:pypi/pypdf

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -6.15.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
    PYSEC-2026-3912 | CVE-DB