Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-102995

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-102995

pypdf

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "py-pdf",
    "product": "pypdf",
    "versions": [
      {
        "status": "affected",
        "version": "< 6.18.1"
      }
    ]
  }
]
Related CVEs
CVE-2026-102995

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#7641 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement