NULL Pointer Dereference Affecting pymupdf package, versions [1.24.0,1.27.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.4% (32nd 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-13058632
  • published26 Sept 2025
  • disclosed23 Sept 2025
  • credit3Ishayu

Introduced: 23 Sep 2025

CVE-2025-55780  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade PyMuPDF to version 1.27.1 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 NULL Pointer Dereference via the break_word_for_overflow_wrap() function when rendering a malformed EPUB document. An attacker can cause a crash by supplying a specially crafted EPUB file that triggers a null pointer dereference in the processing of FLOW_WORD nodes.

CVSS Base Scores

version 4.0
version 3.1