Vulnerability

CVE-2026-40505

mediumCVSS 4.0 4.8Published 16 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Artifex mupdf

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning