Skip to content

Inefficient decoding of array-based streams

Moderate
stefan6419846 published GHSA-qpxp-75px-xjcp Mar 17, 2026

Package

pip pypdf (pip)

Affected versions

< 6.9.1

Patched versions

>= 6.9.1

Description

Impact

An attacker who uses this vulnerability can craft a PDF which leads to long runtimes and/or large memory usage. This requires accessing an array-based stream with lots of entries.

Patches

This has been fixed in pypdf==6.9.1.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #3686.

Severity

Moderate

CVE ID

CVE-2026-33123

Weaknesses

Uncontrolled Resource Consumption

The product does not properly control the allocation and maintenance of a limited resource. Learn more on MITRE.

Inefficient Algorithmic Complexity

An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached. Learn more on MITRE.

Credits