CVE-2026-27026: pypdf possibly has long runtimes for malformed FlateDecode streams

Published Feb 18, 2026
·
Updated

Impact

An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires a malformed /FlateDecode stream, where the byte-by-byte decompression is used.

Patches

This has been fixed in pypdf==6.7.1.

Workarounds

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

Other sources

pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires a malformed /FlateDecode stream, where the byte-by-byte decompression is used. This vulnerability is fixed in 6.7.1.

NVD

Affected Software

2 affected componentsFixes available
pip/pypdf<6.7.1
6.7.1
Pypdf Project Pypdf<6.7.1

Event History

Feb 18, 2026
Advisory Published
via GitHub·10:41 PM
Data Sourced
via GitHub·10:41 PM
DescriptionWeaknessAffected Software
Feb 20, 2026
CVE Published
via MITRE·09:12 PM
Data Sourced
via MITRE·09:12 PM
DescriptionWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 23, 58126
Event
via FIRST·07:28 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-27026?

The severity of CVE-2026-27026 is moderate due to the potential for long runtimes caused by malformed FlateDecode streams.

2

How can I fix CVE-2026-27026?

To fix CVE-2026-27026, upgrade to pypdf version 6.7.1 or later.

3

What types of attacks can exploit CVE-2026-27026?

CVE-2026-27026 can be exploited by attackers using specially crafted PDFs that contain malformed FlateDecode streams.

4

Which software is affected by CVE-2026-27026?

CVE-2026-27026 affects the pypdf package prior to version 6.7.1.

5

What are the symptoms of CVE-2026-27026?

The symptoms of CVE-2026-27026 include significantly increased processing times when handling malformed PDFs.

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