Integer Overflow or Wraparound Affecting pymupdf package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (12th 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-15923526
  • published7 Apr 2026
  • disclosed31 Mar 2026
  • creditYarden Porat

Introduced: 31 Mar 2026

CVE-2026-3308  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

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 Integer Overflow or Wraparound in the pdf_load_image_imp() function. An attacker can achieve arbitrary code execution by supplying a specially crafted PDF file that triggers an integer overflow, leading to a heap out-of-bounds write.

CVSS Base Scores

version 4.0
version 3.1