ZeroDay Brief
CVE-2026-102995

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 valu…

CVSS
7.5High
Chance of exploitation (EPSS)
0.34%
Published
Sep 30, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious resource exhaustion flaw in Pypdf that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Pypdf
< 6.18.1

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.

CWE-400

Affected products

Get alerts for these →

Timeline 4

Latest change: Tenable Cloud Security plugin 497413: SCA: security update for pypdf (GHSA-fp3h-c4fm-7vvf) (Dec 2, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 4

  • github.com Patch /py-pdf/pypdf/commit/319d0b823ce2c311a2435e9fd93c13994d32bb51
  • github.com Patch /py-pdf/pypdf/pull/4071
  • github.com Vendor Advisory /py-pdf/pypdf/security/advisories/GHSA-fp3h-c4fm-7vvf
  • github.com /py-pdf/pypdf/releases/tag/6.18.1

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”