Skip to content

CVE-2026-119206 pypdf: Possible long runtimes when retrieving page labels

HighCVSS 7.1 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can take excessive time to retrieve page labels from a crafted PDF containing a flat page-label number tree with many ranges. The page_labels property resolves each page independently and repeatedly scans the same /Nums array from the beginning, causing work to grow with both the page count and the number of label ranges. This issue is fixed in version 6.21.3.

Upgrade path

22 packages: 3 fixed, 19 with no fix yet.

PackageAffectedFixed inStatus
debian/pypdf(Debian 12) = 3.4.1-1; = 3.4.1-1+deb12u1; = 3.17.4-1; = 4.0.0-1 +15 more No fix listed No fix yet
debian/pypdf(Debian 13) = 5.4.0-1; = 6.9.0-1; = 6.9.2-1; = 6.9.2-2 +5 more No fix listed No fix yet
debian/pypdf2(Debian 12) = 2.12.1-3; = 2.12.1-3+deb12u1; = 2.12.1-4; All versions No fix listed No fix yet
redhat/ansible-automation-platform/automation-orchestrator-backend-rhel9(Red Hat ansible_automation_orchestrator 2026.8) All versions No fix listed No fix yet
redhat/lightspeed-core/lightspeed-stack-rhel9(Red Hat lightspeed_core) All versions No fix listed No fix yet
redhat/lightspeed-core/rag-tool-cpu-rhel9(Red Hat lightspeed_core) All versions No fix listed No fix yet
redhat/lightspeed-core/rag-tool-cuda-12.9-rhel9(Red Hat lightspeed_core) All versions No fix listed No fix yet
redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9(Red Hat openshift_lightspeed 1) All versions No fix listed No fix yet
redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9(Red Hat openshift_lightspeed 2) All versions No fix listed No fix yet
redhat/openshift-lightspeed/lightspeed-ocp-rag-rhel9(Red Hat openshift_lightspeed 1) All versions No fix listed No fix yet
redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhelai3/bootc-gaudi-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhelai3/bootc-rocm-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhelai3/disk-image-cuda-rhel9(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/rhoai/odh-llama-stack-core-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-ogx-core-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
ubuntu/pypdf(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/pypdf(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/pypdf(Ubuntu 26.10) All versions No fix listed No fix yet
debian/pypdf(Debian 14) < 6.21.4-1; = 5.4.0-1; = 6.9.0-1; = 6.9.2-1 +4 more 6.21.4-1 Fixed
py-pdf pypdf < 6.21.3; = < 6.21.3 6.21.3 Fixed
pypi pypdf(PyPI) < 6.21.3; = 1.0; = 1.1; = 1.2 +122 more 6.21.3 Fixed

Affected products

ProductAffected versionsFixed in
pypi pypdf(PyPI) < 6.21.3 6.21.3
pypi pypdf(PyPI) = 1.0 No fix listed
pypi pypdf(PyPI) = 1.1 No fix listed
pypi pypdf(PyPI) = 1.10 No fix listed
pypi pypdf(PyPI) = 1.11 No fix listed
pypi pypdf(PyPI) = 1.12 No fix listed
pypi pypdf(PyPI) = 1.13 No fix listed
pypi pypdf(PyPI) = 1.2 No fix listed
pypi pypdf(PyPI) = 1.3 No fix listed
pypi pypdf(PyPI) = 1.4 No fix listed
pypi pypdf(PyPI) = 1.5 No fix listed
pypi pypdf(PyPI) = 1.6 No fix listed
pypi pypdf(PyPI) = 1.7 No fix listed
pypi pypdf(PyPI) = 1.8 No fix listed
pypi pypdf(PyPI) = 1.9 No fix listed
pypi pypdf(PyPI) = 3.1.0 No fix listed
pypi pypdf(PyPI) = 3.10.0 No fix listed
pypi pypdf(PyPI) = 3.11.0 No fix listed
pypi pypdf(PyPI) = 3.11.1 No fix listed
pypi pypdf(PyPI) = 3.12.0 No fix listed
pypi pypdf(PyPI) = 3.12.1 No fix listed
pypi pypdf(PyPI) = 3.12.2 No fix listed
pypi pypdf(PyPI) = 3.13.0 No fix listed
pypi pypdf(PyPI) = 3.14.0 No fix listed
pypi pypdf(PyPI) = 3.15.0 No fix listed
Show 162 more
ProductAffected versionsFixed in
pypi pypdf(PyPI) = 3.15.1 No fix listed
pypi pypdf(PyPI) = 3.15.2 No fix listed
pypi pypdf(PyPI) = 3.15.3 No fix listed
pypi pypdf(PyPI) = 3.15.4 No fix listed
pypi pypdf(PyPI) = 3.15.5 No fix listed
pypi pypdf(PyPI) = 3.16.0 No fix listed
pypi pypdf(PyPI) = 3.16.1 No fix listed
pypi pypdf(PyPI) = 3.16.2 No fix listed
pypi pypdf(PyPI) = 3.16.3 No fix listed
pypi pypdf(PyPI) = 3.16.4 No fix listed
pypi pypdf(PyPI) = 3.17.0 No fix listed
pypi pypdf(PyPI) = 3.17.1 No fix listed
pypi pypdf(PyPI) = 3.17.2 No fix listed
pypi pypdf(PyPI) = 3.17.3 No fix listed
pypi pypdf(PyPI) = 3.17.4 No fix listed
pypi pypdf(PyPI) = 3.2.0 No fix listed
pypi pypdf(PyPI) = 3.2.1 No fix listed
pypi pypdf(PyPI) = 3.3.0 No fix listed
pypi pypdf(PyPI) = 3.4.0 No fix listed
pypi pypdf(PyPI) = 3.4.1 No fix listed
pypi pypdf(PyPI) = 3.5.0 No fix listed
pypi pypdf(PyPI) = 3.5.1 No fix listed
pypi pypdf(PyPI) = 3.5.2 No fix listed
pypi pypdf(PyPI) = 3.6.0 No fix listed
pypi pypdf(PyPI) = 3.7.0 No fix listed
pypi pypdf(PyPI) = 3.7.1 No fix listed
pypi pypdf(PyPI) = 3.8.0 No fix listed
pypi pypdf(PyPI) = 3.8.1 No fix listed
pypi pypdf(PyPI) = 3.9.0 No fix listed
pypi pypdf(PyPI) = 3.9.1 No fix listed
pypi pypdf(PyPI) = 4.0.0 No fix listed
pypi pypdf(PyPI) = 4.0.1 No fix listed
pypi pypdf(PyPI) = 4.0.2 No fix listed
pypi pypdf(PyPI) = 4.1.0 No fix listed
pypi pypdf(PyPI) = 4.2.0 No fix listed
pypi pypdf(PyPI) = 4.3.0 No fix listed
pypi pypdf(PyPI) = 4.3.1 No fix listed
pypi pypdf(PyPI) = 5.0.0 No fix listed
pypi pypdf(PyPI) = 5.0.1 No fix listed
pypi pypdf(PyPI) = 5.1.0 No fix listed
pypi pypdf(PyPI) = 5.2.0 No fix listed
pypi pypdf(PyPI) = 5.3.0 No fix listed
pypi pypdf(PyPI) = 5.3.1 No fix listed
pypi pypdf(PyPI) = 5.4.0 No fix listed
pypi pypdf(PyPI) = 5.5.0 No fix listed
pypi pypdf(PyPI) = 5.6.0 No fix listed
pypi pypdf(PyPI) = 5.6.1 No fix listed
pypi pypdf(PyPI) = 5.7.0 No fix listed
pypi pypdf(PyPI) = 5.8.0 No fix listed
pypi pypdf(PyPI) = 5.9.0 No fix listed
pypi pypdf(PyPI) = 6.0.0 No fix listed
pypi pypdf(PyPI) = 6.1.0 No fix listed
pypi pypdf(PyPI) = 6.1.1 No fix listed
pypi pypdf(PyPI) = 6.1.2 No fix listed
pypi pypdf(PyPI) = 6.1.3 No fix listed
pypi pypdf(PyPI) = 6.10.0 No fix listed
pypi pypdf(PyPI) = 6.10.1 No fix listed
pypi pypdf(PyPI) = 6.10.2 No fix listed
pypi pypdf(PyPI) = 6.11.0 No fix listed
pypi pypdf(PyPI) = 6.12.0 No fix listed
pypi pypdf(PyPI) = 6.12.1 No fix listed
pypi pypdf(PyPI) = 6.12.2 No fix listed
pypi pypdf(PyPI) = 6.13.0 No fix listed
pypi pypdf(PyPI) = 6.13.1 No fix listed
pypi pypdf(PyPI) = 6.13.2 No fix listed
pypi pypdf(PyPI) = 6.13.3 No fix listed
pypi pypdf(PyPI) = 6.14.0 No fix listed
pypi pypdf(PyPI) = 6.14.1 No fix listed
pypi pypdf(PyPI) = 6.14.2 No fix listed
pypi pypdf(PyPI) = 6.15.0 No fix listed
pypi pypdf(PyPI) = 6.16.0 No fix listed
pypi pypdf(PyPI) = 6.16.1 No fix listed
pypi pypdf(PyPI) = 6.16.2 No fix listed
pypi pypdf(PyPI) = 6.17.0 No fix listed
pypi pypdf(PyPI) = 6.18.0 No fix listed
pypi pypdf(PyPI) = 6.18.1 No fix listed
pypi pypdf(PyPI) = 6.19.0 No fix listed
pypi pypdf(PyPI) = 6.2.0 No fix listed
pypi pypdf(PyPI) = 6.20.0 No fix listed
pypi pypdf(PyPI) = 6.20.1 No fix listed
pypi pypdf(PyPI) = 6.21.0 No fix listed
pypi pypdf(PyPI) = 6.21.1 No fix listed
pypi pypdf(PyPI) = 6.21.2 No fix listed
pypi pypdf(PyPI) = 6.3.0 No fix listed
pypi pypdf(PyPI) = 6.4.0 No fix listed
pypi pypdf(PyPI) = 6.4.1 No fix listed
pypi pypdf(PyPI) = 6.4.2 No fix listed
pypi pypdf(PyPI) = 6.5.0 No fix listed
pypi pypdf(PyPI) = 6.6.0 No fix listed
pypi pypdf(PyPI) = 6.6.1 No fix listed
pypi pypdf(PyPI) = 6.6.2 No fix listed
pypi pypdf(PyPI) = 6.7.0 No fix listed
pypi pypdf(PyPI) = 6.7.1 No fix listed
pypi pypdf(PyPI) = 6.7.2 No fix listed
pypi pypdf(PyPI) = 6.7.3 No fix listed
pypi pypdf(PyPI) = 6.7.4 No fix listed
pypi pypdf(PyPI) = 6.7.5 No fix listed
pypi pypdf(PyPI) = 6.8.0 No fix listed
pypi pypdf(PyPI) = 6.9.0 No fix listed
pypi pypdf(PyPI) = 6.9.1 No fix listed
pypi pypdf(PyPI) = 6.9.2 No fix listed
py-pdf pypdf = < 6.21.3 No fix listed
redhat/ansible-automation-platform/automation-orchestrator-backend-rhel9(Red Hat:ansible_automation_orchestrator:2026.8) All versions No fix listed
redhat/lightspeed-core/lightspeed-stack-rhel9(Red Hat:lightspeed_core) All versions No fix listed
redhat/lightspeed-core/rag-tool-cpu-rhel9(Red Hat:lightspeed_core) All versions No fix listed
redhat/lightspeed-core/rag-tool-cuda-12.9-rhel9(Red Hat:lightspeed_core) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-ocp-rag-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9(Red Hat:openshift_lightspeed:2) All versions No fix listed
redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhoai/odh-llama-stack-core-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-ogx-core-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/quay/quay-rhel8(Red Hat:quay:3) All versions No fix listed
redhat/quay/quay-rhel9(Red Hat:quay:3) All versions No fix listed
debian/pypdf(Debian:12) All versions No fix listed
debian/pypdf(Debian:12) = 3.17.4-1 No fix listed
debian/pypdf(Debian:12) = 3.4.1-1 No fix listed
debian/pypdf(Debian:12) = 3.4.1-1+deb12u1 No fix listed
debian/pypdf(Debian:12) = 4.0.0-1 No fix listed
debian/pypdf(Debian:12) = 4.0.0-1~exp1 No fix listed
debian/pypdf(Debian:12) = 4.0.1-1 No fix listed
debian/pypdf(Debian:12) = 4.0.2-1 No fix listed
debian/pypdf(Debian:12) = 4.1.0-1 No fix listed
debian/pypdf(Debian:12) = 4.2.0-1 No fix listed
debian/pypdf(Debian:12) = 4.3.1-1 No fix listed
debian/pypdf(Debian:12) = 5.4.0-1 No fix listed
debian/pypdf(Debian:12) = 6.19.0-1 No fix listed
debian/pypdf(Debian:12) = 6.21.0-1 No fix listed
debian/pypdf(Debian:12) = 6.21.1-1 No fix listed
debian/pypdf(Debian:12) = 6.21.4-1 No fix listed
debian/pypdf(Debian:12) = 6.9.0-1 No fix listed
debian/pypdf(Debian:12) = 6.9.2-1 No fix listed
debian/pypdf(Debian:12) = 6.9.2-2 No fix listed
debian/pypdf(Debian:13) All versions No fix listed
debian/pypdf(Debian:13) = 5.4.0-1 No fix listed
debian/pypdf(Debian:13) = 6.19.0-1 No fix listed
debian/pypdf(Debian:13) = 6.21.0-1 No fix listed
debian/pypdf(Debian:13) = 6.21.1-1 No fix listed
debian/pypdf(Debian:13) = 6.21.4-1 No fix listed
debian/pypdf(Debian:13) = 6.9.0-1 No fix listed
debian/pypdf(Debian:13) = 6.9.2-1 No fix listed
debian/pypdf(Debian:13) = 6.9.2-2 No fix listed
debian/pypdf(Debian:14) < 6.21.4-1 6.21.4-1
debian/pypdf(Debian:14) = 5.4.0-1 No fix listed
debian/pypdf(Debian:14) = 6.19.0-1 No fix listed
debian/pypdf(Debian:14) = 6.21.0-1 No fix listed
debian/pypdf(Debian:14) = 6.21.1-1 No fix listed
debian/pypdf(Debian:14) = 6.9.0-1 No fix listed
debian/pypdf(Debian:14) = 6.9.2-1 No fix listed
debian/pypdf(Debian:14) = 6.9.2-2 No fix listed
debian/pypdf2(Debian:12) All versions No fix listed
debian/pypdf2(Debian:12) = 2.12.1-3 No fix listed
debian/pypdf2(Debian:12) = 2.12.1-3+deb12u1 No fix listed
debian/pypdf2(Debian:12) = 2.12.1-4 No fix listed
ubuntu/pypdf(Ubuntu:24.04) All versions No fix listed
ubuntu/pypdf(Ubuntu:26.04) All versions No fix listed
ubuntu/pypdf(Ubuntu:26.10) All versions No fix listed
py-pdf pypdf < 6.21.3 6.21.3

References