Skip to content
OpenAdvisories
Medium · 6.6 CVE-2025-62708 EUVD-2025-35624GHSA-jfx9-29x2-rv3jPYSEC-2026-1831

pypdf manipulated LZWDecode streams can exhaust RAM

Published Oct 22, 2025 · Updated Oct 23, 2025 · Assigned by GitHub_M

Description

pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream of a page using the LZWDecode filter. This has been fixed in pypdf version 6.1.3.

Affected products

VendorProductAffectedFixed
py-pdf pypdf < 6.1.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pypdf 6.9.0-1 —
Debian 13 pypdf No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pypdf No fix yet —
Ubuntu 26.04 LTS pypdf No fix yet —
Ubuntu 25.10 pypdf No fix yet —
Ubuntu 24.04 LTS pypdf No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling open-webui +1 0.6.34-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pypdf < 6.1.3 6.1.3 GHSA-jfx9-29x2-rv3j

Advisories 1

References