CVE-2026-33699: pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream

Published Mar 25, 2026
·
Updated

Impact

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode.

Patches

This has been fixed in pypdf==6.9.2.

Workarounds

If users cannot upgrade yet, consider applying the changes from PR #3693.

Other sources

pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an attacker can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode. This has been fixed in pypdf 6.9.2. If users cannot upgrade yet, consider applying the changes from the patch manually.

MITRE

Affected Software

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

Event History

Mar 25, 2026
Advisory Published
via GitHub·08:05 PM
Data Sourced
via GitHub·08:05 PM
DescriptionWeaknessAffected Software
Mar 26, 2026
CVE Published
via MITRE·11:58 PM
Data Sourced
via MITRE·11:58 PM
DescriptionWeakness
Mar 27, 2026
Data Sourced
via NVD·01:16 AM
RemedyDescriptionSeverityWeaknessAffected 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-33699?

CVE-2026-33699 is classified as a moderate severity vulnerability due to its potential to cause an infinite loop.

2

How do I fix CVE-2026-33699?

To fix CVE-2026-33699, you should upgrade to pypdf version 6.9.2 or later.

3

What impact does CVE-2026-33699 have on my system?

CVE-2026-33699 can lead to denial of service through an infinite loop when processing specially crafted PDF files in non-strict mode.

4

Is CVE-2026-33699 related to a specific version of pypdf?

Yes, CVE-2026-33699 affects versions of pypdf prior to 6.9.2.

5

Can CVE-2026-33699 be exploited remotely?

CVE-2026-33699 can be exploited remotely if an attacker provides a malicious PDF file to a vulnerable application.

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