🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2794

Bug#1152684: pypdf: CVE-2026-115572 CVE-2026-115580 CVE-2026-115585 CVE-2026-119203 CVE-2026-119204 CVE-2026-119205 CVE-2026-119...

#2794
From: Salvatore Bonaccorso
Date: Sat, 31 Oct 2026 10:00
132 lines
7662 bytes
Source: pypdf
Version: 6.21.1-1
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security upstream

Hi,

The following vulnerabilities were published for pypdf.

CVE-2026-115572[0]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.2, an attacker can craft a PDF that repeatedly references the
| same nonexistent indirect object, causing relevant file parts such
| as pages to trigger repeated full-file recovery loads and long
| runtimes when accessed. This issue is fixed in version 6.21.2.


CVE-2026-115580[1]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.2, an attacker can craft a PDF with a standard cross-reference
| table whose declared entry count exceeds what the file can contain,
| causing excessive processing and long runtimes when the file is
| opened. This issue is fixed in version 6.21.2.


CVE-2026-115585[2]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.2, an incomplete remediation for repeated malformed cross-
| reference entries in GHSA-55h5-xmcq-c37v could still trigger a
| complete PDF stream reload during each recovery attempt even when a
| recovery cache was present, causing crafted cross-reference streams
| to produce long runtimes. This issue is fixed in version 6.21.2.


CVE-2026-119203[3]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.4, pypdf can enter an infinite loop while opening a crafted
| incomplete PDF whose standard cross-reference table reaches the end
| of the file without a trailer. The trailer search can repeatedly
| rewind to the same stream position instead of terminating when
| parsing makes no progress, blocking the processing thread. This
| issue is fixed in version 6.21.4.


CVE-2026-119204[4]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.4, pypdf can consume excessive memory while parsing a crafted
| PDF page tree containing many shared resources. Page-tree flattening
| copies page dictionary and inherited resource entries without a
| document-wide entry budget, allowing the crafted resource structure
| to cause disproportionate allocations. This issue is fixed in
| version 6.21.4.


CVE-2026-119205[5]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.4, pypdf can enter an infinite loop when cloning or duplicating
| a crafted cyclic DictionaryObject. Clone traversal checked generated
| destination references rather than the original source references,
| allowing some source cycles to evade the visited-object check. This
| issue is fixed in version 6.21.4.


CVE-2026-119206[6]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.3, pypdf can take excessive time to retrieve page labels from a
| crafted PDF containing a flat page-label number tree with many
| ranges. The page_labels property resolves each page independently
| and repeatedly scans the same /Nums array from the beginning,
| causing work to grow with both the page count and the number of
| label ranges. This issue is fixed in version 6.21.3.


CVE-2026-119207[7]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.3, pypdf can consume excessive memory when strict mode loads a
| crafted invalid PDF dictionary. Nested parsing failures add repeated
| exception text to newly raised errors, allowing a small malformed
| dictionary to amplify into very large error messages. This issue is
| fixed in version 6.21.3.


CVE-2026-119208[8]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.3, pypdf can consume excessive time and memory when an
| application accesses the page count of a crafted encrypted PDF whose
| page tree declares a forged /Count value. Even after successful
| decryption, page-count retrieval trusts the unvalidated declared
| count instead of walking the page tree, allowing the attacker-
| controlled value to drive excessive work and memory use. This issue
| is fixed in version 6.21.3.


CVE-2026-119209[9]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.21.3, pypdf can consume excessive memory while opening a crafted
| PDF containing cross-reference streams that declare very large entry
| counts. Highly compressible streams and /Prev chains can multiply
| the number of parsed entries across a document, while negative
| /Index counts can bypass the existing per-stream clamp. This issue
| is fixed in version 6.21.3.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-115572
    https://www.cve.org/CVERecord?id=CVE-2026-115572
[1] https://security-tracker.debian.org/tracker/CVE-2026-115580
    https://www.cve.org/CVERecord?id=CVE-2026-115580
[2] https://security-tracker.debian.org/tracker/CVE-2026-115585
    https://www.cve.org/CVERecord?id=CVE-2026-115585
[3] https://security-tracker.debian.org/tracker/CVE-2026-119203
    https://www.cve.org/CVERecord?id=CVE-2026-119203
[4] https://security-tracker.debian.org/tracker/CVE-2026-119204
    https://www.cve.org/CVERecord?id=CVE-2026-119204
[5] https://security-tracker.debian.org/tracker/CVE-2026-119205
    https://www.cve.org/CVERecord?id=CVE-2026-119205
[6] https://security-tracker.debian.org/tracker/CVE-2026-119206
    https://www.cve.org/CVERecord?id=CVE-2026-119206
[7] https://security-tracker.debian.org/tracker/CVE-2026-119207
    https://www.cve.org/CVERecord?id=CVE-2026-119207
[8] https://security-tracker.debian.org/tracker/CVE-2026-119208
    https://www.cve.org/CVERecord?id=CVE-2026-119208
[9] https://security-tracker.debian.org/tracker/CVE-2026-119209
    https://www.cve.org/CVERecord?id=CVE-2026-119209

Regards,
Salvatore
Technical Details
Message-ID: <NUe2t-8Z3q-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Salvatore Bonaccorso <carnil@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152684: pypdf: CVE-2026-115572 CVE-2026-115580 CVE-2026-115585 CVE-2026-119203 CVE-2026-119204 CVE-2026-119205 CVE-2026-119206 CVE-2026-119207 CVE-2026-119208 CVE-2026-119209
Date: Sat, 31 Oct 2026 11:00:01 +0100
Message-ID: <NUe2t-8Z3q-1@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 31 09:51:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1152684@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, team+python@tracker.debian.org
X-Debian-Pr-Message: report 1152684
X-Debian-Pr-Package: src:pypdf
X-Debian-Pr-Keywords: security upstream
X-Debian-Pr-Source: pypdf
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: carnil
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999901
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 132
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 31 Oct 2026 10:48:12 +0100
X-Original-Message-ID: <auW5XEe0SCl5XtZY@eldamar.lan>