CVE-2025-62707
Unknown Unknown - Not Provided
BaseFortify

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-05-07
AI Q&A
2025-10-23
EPSS Evaluated
2026-05-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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


What immediate steps should I take to mitigate this vulnerability?

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart