Vulnerability Explorer›CVE-2026-40505
VULNERABILITY
CVE-2026-40505
Common Vulnerabilities and Exposures record
MEDIUM
Summary
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.
Risk
- CVSS
- 4.8
- Severity
- MEDIUM
- Vector
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Timeline
- Published
- Apr 16, 2026 02:16
- Modified
- Oct 26, 2026 21:10
- Last observed
- Oct 26, 2026 19:00
CWE
Affected product identifiers
cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*