CVE-2026-31826
pypdf: manipulated stream length values can exhaust RAM
EPSS 0.17%
描述
pypdf is a free and open-source pure-python PDF library. Prior to 6.8.0, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing a content stream with a rather large /Length value, regardless of the actual data length inside the stream. This vulnerability is fixed in 6.8.0.
如何修補 CVE-2026-31826
要修補 CVE-2026-31826,請將受影響套件升級到下列已修補版本。
- PyPI/pypdf—升級至 6.8.0 或更新版本
- PyPI/pypdf—升級至 6.8.0 或更新版本
CVE-2026-31826 正在被利用嗎?
低 — EPSS 為 0.2%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 6.8.0
- from 0, < 6.8.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |