LiveActive security incident?Get immediate response
CVE Record

CVE-2026-22691: pypdf has possible long runtimes for malformed startxref

pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for malformed startxref. An attacker who uses this vulnerability can craft a PDF which leads to possibly long runtimes for invalid startxref entries. When rebuilding the cross-reference table, PDF files with lots of whitespace characters become problematic. Only the non-strict reading mode is affected. Only the non-strict reading mode is affected. This issue has been patched in version 6.6.0.

LowCVSS 2.7Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

CVE-2026-22691 affects pypdf, a Python PDF library. Malformed PDFs with invalid startxref entries and excessive whitespace can cause unusually long processing times. The business impact is mainly service slowdown or resource consumption where applications process untrusted PDFs. The issue is low severity and fixed in pypdf 6.6.0.

Executive priority

Treat as a routine but worthwhile dependency update. It is low severity, but PDF-processing services exposed to untrusted uploads should patch promptly to reduce avoidable availability risk. No evidence of active exploitation is provided.

Technical view

pypdf versions before 6.6.0 can experience long runtimes when rebuilding cross-reference tables for malformed startxref entries. The advisory states only non-strict reading mode is affected. The issue maps to uncontrolled resource consumption and inefficient regular expression complexity classes. CVSS v4.0 is 2.7, with low availability impact and no confidentiality or integrity impact.

Likely exposure

Exposure is most relevant for Python services, document workflows, or user-upload features that parse untrusted PDFs using pypdf below 6.6.0 in non-strict mode. Systems that do not use pypdf, do not parse PDFs, or only use unaffected versions are not indicated as affected by the provided sources.

Exploitation context

The sources describe attacker-crafted PDFs causing long runtimes, but do not report active exploitation. The CVE is not listed as KEV in the provided bundle. Practical risk depends on whether attackers can submit PDFs to an affected application and trigger non-strict parsing.

Researcher notes

Key constraints are narrow: pypdf before 6.6.0, malformed startxref handling, cross-reference table rebuilding, lots of whitespace, and non-strict mode only. The public sources identify the patch release, pull request, and commit, but do not provide evidence of exploitation in the wild.

Mitigation direction

  • Upgrade pypdf to version 6.6.0 or later.
  • Prioritize internet-facing or automated PDF-processing services.
  • Review vendor advisory and release notes before production rollout.
  • If immediate upgrade is not possible, check vendor guidance for supported workarounds.

Validation and detection

  • Inventory applications and containers using pypdf.
  • Confirm installed pypdf versions are 6.6.0 or later.
  • Identify whether non-strict PDF reading mode is used.
  • Review upload and document-processing paths for untrusted PDF input.
  • Monitor PDF-processing latency and resource usage for anomalies.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-1333: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-400: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-22691 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
2.7 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
2.7CVSS 4.0LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

2.7Low
CVSS 4.0 vector shape for CVE-2026-22691Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
py-pdfpypdf< 6.6.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.