Infinite Loop Vulnerability in pypdf Library by PyPDF
CVE-2025-62707

6.6MEDIUM

Key Information:

Vendor

Py-PDF

Status
Vendor
CVE Published:
22 October 2025

What is CVE-2025-62707?

The pypdf library, a pure-Python PDF manipulation tool, has a vulnerability that can be exploited to create PDF files leading to an infinite loop during content stream parsing. Specifically, this occurs when handling an inline image with the DCTDecode filter. This issue was addressed in version 6.1.3, mitigating the potential for denial of service by preventing the loop from occurring in the parsing process.

Affected Version(s)

pypdf < 6.1.3

References

CVSS V4

Score:
6.6
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-62707 : Infinite Loop Vulnerability in pypdf Library by PyPDF