Advisory

GHSA-qpxp-75px-xjcp

Also known as: CVE-2026-33123, PYSEC-2026-3023

Summary

pypdf has inefficient decoding of array-based streams

Details

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-18 16:17 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

pypdf

PyPI · All systems

Affected

  • introduced 0, fixed 6.9.1 (ecosystem)

Fixed versions

6.9.1

Fix

  • Fixed version 6.9.1
    pip install --upgrade pypdf==6.9.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences