CVE-2026-71852

Description

A flaw was found in pypdf. A remote attacker could provide a specially crafted PDF file that, when processed by the Font._collect_cid_character_widths function during text extraction, causes the library to expand unusually large font width ranges. This can lead to excessive memory consumption and long processing times, resulting in a denial of service.

Statement

Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.

Understanding the Weakness (CWE)

Availability

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

This issue can make the product perform more slowly. If an attacker can influence the number of iterations in the loop, then this performance problem might allow a denial of service by consuming more platform resources than intended.

Frequently Asked Questions

Want to get errata notifications? Sign up here.