cve.bz

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

7.1 highEPSS 0.3%Fix available

High (7.1) in py-pdf pypdf. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in pypdf 6.21.4.

On this page
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can enter an infinite loop while opening a crafted incomplete PDF whose standard cross-reference table reaches the end of the file without a trailer. The trailer search can repeatedly rewind to the same stream position instead of terminating when parsing makes no progress, blocking the processing thread. This issue is fixed in version 6.21.4.

Severity

CVSS 4.0

7.1 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.3% (up from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 27th 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-10-30. 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-119203 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-119203?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-119203?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-119203 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.21.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5849-834g-hvw5PyPIpypdf<6.21.46.21.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pypdf, pypdf2no fix listedDEBIAN-CVE-2026-119203
Debian13pypdfno fix listedDEBIAN-CVE-2026-119203
Debian14pypdf6.21.4-1DEBIAN-CVE-2026-119203
Ubuntu24.04:LTS, 26.04:LTS, 26.10pypdfno fix listedUBUNTU-CVE-2026-119203
openSUSELeap 16.0python-pypdf6.19.0-bp160.3.1openSUSE-SU-2026:22219-1
openSUSETumbleweedpython-pypdf6.21.4-1.1openSUSE-SU-2026:12644-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 statement

This vulnerability is evaluated as having Moderate severity for Red Hat environments because exploitation is constrained to a denial of service and requires an application to ingest an untrusted, malformed document. Within Red Hat solutions incorporating this library—such as retrieval-augmented generation pipelines or document processing services—triggering the flaw can consume worker execution threads and degrade responsiveness. However, the issue does not allow privilege escalation, unauthorized data access, or code execution.

Red Hat's mitigation

Upgrade pypdf to 6.21.4. As a workaround, apply the PR #4289 changes or avoid processing untrusted or incomplete PDF files.

ProductPackageStateAdvisory
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-backend-rhel9Fix deferred
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Fix deferred
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Fix deferred
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-chatbot-rhel8Out of support scope
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gaudi-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-core-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-ogx-core-rhel9Fix deferred
Red Hat Quay 3quay/quay-rhel8Out of support scope
Red Hat Quay 3quay/quay-rhel9Out of support scope

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-119203.

References

Check your stackJSON