Bug 2512850

Summary: CVE-2026-71870 python-pypdf: pypdf: Denial of Service via crafted PDF with large /ToUnicode streams [fedora-all]
Product: [Fedora] Fedora Reporter: Ganesh <gnaik>
Component: python-pypdfAssignee: Davide Cavalca <davide>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: davide, tadej.j
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["59ef65a0-4471-41f4-ab36-117f9901ecc5"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-11 07:12:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2512627    

Description Ganesh 2026-08-09 04:39:27 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code or destination-string tokens in a font /ToUnicode CMap during text extraction. This issue is fixed in 6.15.0.

Comment 1 Tadej Janež 2026-08-11 07:12:05 UTC
Version 6.15.0 is in rawhide.

For Fedora 44/43, I'm reluctant to upgrade them since it would be upgrading 2 major versions (from 4.2.0 to 6.15.0) in a stable release.