CVE-2026-40505: Artifex Mupdf
Low severity, CVSS 3.3. EPSS: 0.2% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Artifex Mupdf, before 1.27.0: fixed in 1.27.0
Affected products
Published 2026-04-16. Last modified 2026-10-26.