CVE-2025-62707
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-62707, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-10-22

Last updated on: 2025-10-27

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-10-22
Last Modified
2025-10-27
Generated
2026-07-06
AI Q&A
2025-10-23
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
pypdf_project pypdf to 6.1.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-834 The product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in pypdf versions prior to 6.1.3 allows an attacker to craft a specially designed PDF containing a page with an inline image using the DCTDecode filter. When this PDF is parsed, it can cause the library to enter an infinite loop during content stream parsing.

Impact Analysis

The impact of this vulnerability is that processing a maliciously crafted PDF can cause the application using pypdf to hang or become unresponsive due to an infinite loop, potentially leading to denial of service.

Mitigation Strategies

Update pypdf to version 6.1.3 or later, as this version contains the fix for the infinite loop vulnerability caused by parsing PDFs with inline images using the DCTDecode filter.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-62707. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart