Uncontrolled Recursion Affecting pymupdf package, versions [,1.26.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-PYMUPDF-12672499
  • published15 Sept 2025
  • disclosed4 Aug 2025
  • creditUnknown

Introduced: 4 Aug 2025

CVE-2025-46206  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade PyMuPDF to version 1.26.0 or higher.

Overview

PyMuPDF is an A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.

Affected versions of this package are vulnerable to Uncontrolled Recursion when processing a crafted PDF file containing cyclic /Next references in the outline structure via the strip_outline function. An attacker can cause the application to enter an infinite recursion and crash by submitting a specially crafted PDF file.

CVSS Base Scores

version 4.0
version 3.1