Improper Neutralization Affecting mupdf package, versions *


Severity

Recommended
0.0
low
0
10

Based on Debian security rating.

Threat Intelligence

EPSS
0.17% (7th 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-DEBIAN11-MUPDF-16093910
  • published17 Apr 2026
  • disclosed16 Apr 2026

Introduced: 16 Apr 2026

CVE-2026-40505  (opens in a new tab)
CWE-150  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 mupdf.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mupdf package and not the mupdf package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

MuPDF before 1.27 contains an ANSI injection vulnerability in mutool that allows attackers to inject arbitrary ANSI escape sequences through crafted PDF metadata fields. Attackers can embed malicious ANSI escape codes in PDF metadata that are passed unsanitized to terminal output when running mutool info, enabling them to manipulate terminal display for social engineering attacks such as presenting fake prompts or spoofed commands.

CVSS Base Scores

version 3.1