CVE-2026-102995

Description

A flaw was found in pypdf. A remote attacker could exploit this vulnerability by submitting a specially crafted PDF document containing unusually large tokens in font mapping streams. When the library parses this data during operations such as text extraction, it decodes and retains oversized values, leading to excessive memory consumption and a Denial of Service (DoS).

Statement

A moderate-impact denial of service flaw was found in pypdf, a pure-Python PDF library shipped as a dependency in Red Hat products including Red Hat Enterprise Linux AI, Red Hat OpenShift AI, OpenShift Lightspeed, Lightspeed Core, Red Hat Ansible Automation Platform, Red Hat Ansible Automation Orchestrator, and Red Hat Quay. A remote attacker could submit a specially crafted PDF document containing unusually large source-code or destination-string tokens in a font /ToUnicode mapping; when an application using pypdf parses this data, for example during text extraction, the library decodes and retains the oversized values, consuming excessive memory and causing a denial of service. The impact is limited to the availability of the process that handles untrusted PDF input; confidentiality and integrity are not affected. Red Hat rates this flaw moderate, lower than the upstream important severity, because exploitation requires user interaction: an application or user must actively process the attacker-provided PDF. For supported affected streams the fix is currently deferred, because the flaw is rated moderate with a Red Hat CVSS 3.1 score below 7.0, which does not meet the threshold for prioritized remediation in these products; the residual risk is memory exhaustion and unavailability of applications that parse untrusted PDF documents. Some affected streams, including the Ansible Automation Platform 2.5 stream and several Red Hat Quay 3.x streams, are out of support scope.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.57.5N/A
Attack VectorNetworkNetworkN/A
Attack ComplexityLowLowN/A
Privileges RequiredNoneNoneN/A
User InteractionRequiredNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.

Frequently Asked Questions

Want to get errata notifications? Sign up here.