CVE-2025-62707
published medium CVSS 4.0 · 6.6pypdf affected by possible infinite loop when reading DCT inline images without EOF marker
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.1.3 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfaarch64 | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfppc64le | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfs390x | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfx86_64 | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfaarch64 | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfppc64le | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfs390x | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfx86_64 | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfaarch64 | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfppc64le | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfs390x | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfx86_64 | Advisory build | 6.1.3-1.1 | OPENSUSE-SU-2025:15664-1 |
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 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| py-pdf | pypdf | < 6.1.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-834 CWE-834: Excessive Iteration
References
4Provider assertions
2GitHub_M · cna
pypdf affected by possible infinite loop when reading DCT inline images without EOF marker
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bd929f84e4d20641d60c600130dfab9306bb950155be6263d36bf7edad7710a2
- Ingested
- 23 Sep 2026, 08:55:41 UTC
- Source record
- Official CVE record