CVE-2026-28351
pypdf: Manipulated RunLengthDecode streams can exhaust RAM
EPSS 0.42%
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.4, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream using the RunLengthDecode filter. This has been fixed in pypdf 6.7.4. As a workaround, consider applying the changes from PR #3664.
How to fix CVE-2026-28351
To remediate CVE-2026-28351, upgrade the affected package to a fixed version below.
- PyPI/pypdf—upgrade to 6.7.4 or later
- —upgrade to 6.7.4 or later
Is CVE-2026-28351 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 6.7.4
- from 0, < 6.7.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |