GHSA-fc8x-2rww-xw9m: Pip/pypdf vulnerability

Published Sep 2, 2026
·
Updated

Impact An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires a call to readuntilwhitespace with an input which does not have whitespace for a long time.

Patches This has been fixed in pypdf==6.15.0.

Workarounds If you cannot upgrade yet, consider applying the changes from PR #3947.

Affected Software

1 affected componentFixes available
pip/pypdf<6.15.0
6.15.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/pypdf to a version that resolves this vulnerability.

    Fixed in 6.15.0
  2. Upgrade

    Upgrade pypdf to a version that resolves this vulnerability.

    Fixed in 6.15.0
  3. Compensating control

    If you cannot upgrade yet, apply the workaround changes from PR [#3947] to prevent crafted PDFs from causing long runtimes via a call to read_until_whitespace with input that lacks whitespace for a long time.

Event History

Sep 2, 2026
Advisory Published
via GitHub·02:38 PM
Data Sourced
via GitHub·02:38 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using pypdf that process attacker-controlled or otherwise untrusted PDF files are exposed, particularly where parsing can be triggered automatically or on demand.

2

What must an attacker provide to trigger the problem?

The attacker must provide a crafted PDF that causes read_until_whitespace to process input with no whitespace for a long time, resulting in a long runtime.

3

What should teams do if they cannot upgrade immediately?

Consider applying the changes from PR #3947 as a workaround until pypdf can be upgraded to version 6.15.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203