CVE-2026-28351: Manipulated RunLengthDecode streams can exhaust RAM

Published Feb 27, 2026
·
Updated

Impact

An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream using the RunLengthDecode filter.

Patches This has been fixed in pypdf==6.7.4.

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

Other sources

pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.4, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream using the RunLengthDecode filter. This has been fixed in pypdf 6.7.4. As a workaround, consider applying the changes from PR #3664.

MITRE

Affected Software

3 affected componentsFixes available
pypi/pypdf<6.7.4
pip/pypdf<6.7.4
6.7.4
Pypdf Project Pypdf<6.7.4

Event History

Feb 27, 2026
CVE Published
via MITRE·08:59 PM
Data Sourced
via MITRE·08:59 PM
DescriptionWeakness
Data Sourced
via NVD·09:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 28, 2026
Advisory Published
via GitHub·02:46 AM
Data Sourced
via GitHub·02:46 AM
DescriptionWeaknessAffected Software
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-28351?

CVE-2026-28351 has a severity level that can lead to significant memory exhaustion due to manipulated RunLengthDecode streams.

2

How do I fix CVE-2026-28351?

To fix CVE-2026-28351, update to pypdf version 6.7.4 or later.

3

What software is affected by CVE-2026-28351?

CVE-2026-28351 affects pypdf versions prior to 6.7.4.

4

What type of attacks can exploit CVE-2026-28351?

CVE-2026-28351 can be exploited through crafted PDFs that lead to excessive memory usage.

5

What vulnerability does CVE-2026-28351 address?

CVE-2026-28351 addresses a vulnerability in the pypdf library where manipulated RunLengthDecode streams can cause RAM exhaustion.

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