Skip to content

CVE-2026-102995 pypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)

HighCVSS 8.7 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF can place unusually large source-code or destination-string tokens in a font /ToUnicode mapping, causing pypdf/_cmap.py parse_bfchar to decode and retain oversized values during operations such as text extraction and consume excessive memory. This is a second follow-up to earlier /ToUnicode resource-consumption fixes and is limited to the remaining token-length path. This issue is fixed in version 6.18.1.

Affected products

ProductAffected versionsFixed in
pypi pypdf(PyPI) < 6.18.1 6.18.1
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 153 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.2.0 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.18.1 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/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.19.0-1 6.19.0-1
debian/pypdf(Debian:14) = 5.4.0-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/pypdf2(Ubuntu:22.04) All versions No fix listed
ubuntu/pypdf(Ubuntu:24.04) All versions No fix listed
ubuntu/pypdf2(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.18.1 6.18.1

References