CVE-2025-62707
HIGH7.5EPSS 0.05%pypdf possibly loops infinitely when reading DCT inline images without EOF marker
發布日:2025/10/22修改日:2026/4/28
描述
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 an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.
受影響套件(2)
- Debian/pypdffrom 0
- PyPI/pypdffrom 0, < 6.1.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-62707
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-62707
- PATCHhttps://github.com/py-pdf/pypdf
- WEBhttps://github.com/py-pdf/pypdf/commit/f2864d6dd9bac7cecd3f4f54308b25ebbfa178f8
- WEBhttps://github.com/py-pdf/pypdf/pull/3501
- WEBhttps://github.com/py-pdf/pypdf/releases/tag/6.1.3
- WEBhttps://github.com/py-pdf/pypdf/security/advisories/GHSA-vr63-x8vc-m265