cve.bz

CVE-2026-33699 py-pdf pypdf: Infinite Loop

4.6 mediumEPSS 0.5%Fix available

Medium (4.6) in py-pdf pypdf. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in pypdf 6.9.2.

On this page
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.

Severity

CVSS 4.0

4.6 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-33699 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33699?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33699?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-33699 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
py-pdf:pypdfbefore 6.9.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-87mj-5ggw-8qc3PyPIpypdf<6.9.26.9.2
PYSEC-2026-3012PyPIpypdf<6.9.26.9.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pypdf, pypdf2no fix listedDEBIAN-CVE-2026-33699
Debian13pypdfno fix listedDEBIAN-CVE-2026-33699
Debian14pypdf6.9.2-1DEBIAN-CVE-2026-33699
Ubuntu20.04:LTS, 22.04:LTS, Pro:16.04:LTS and 1 morepypdf2no fix listedUBUNTU-CVE-2026-33699
Ubuntu24.04:LTSpypdf, pypdf2no fix listedUBUNTU-CVE-2026-33699
Ubuntu25.10, 26.04:LTSpypdfno fix listedUBUNTU-CVE-2026-33699
openSUSETumbleweedpython-pypdf6.9.2-1.1openSUSE-SU-2026:10464-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

To mitigate this issue, avoid processing untrusted PDF files with pypdf, particularly when operating in non-strict mode. Ensuring that applications using pypdf are configured to operate in strict mode, if supported, can prevent exploitation.

ProductPackageStateAdvisory
Red Hat OpenShift AI 2.25rhoai/odh-llama-stack-core-rhel9:1783701598Fixed 2026-07-21RHSA-2026:42644
Red Hat OpenShift AI 3.3rhoai/odh-llama-stack-core-rhel9:1782471587Fixed 2026-07-09RHSA-2026:37275
Lightspeed Corelightspeed-core/rag-tool-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-chatbot-rhel8Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-33699.

References

Check your stackJSON