CVE-2026-40505Artifex Mupdf
Medium 4.8
Follow: this CVE · Artifex · Artifex Mupdf We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 4.8
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 16, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-150
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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
What happens
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
- Apply the vendor's security update for Mupdf.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| artifex | mupdf | < 1.27.0 |
Official sources
References
Links published by the sources. Open them with care.
- cgit.ghostscript.com Patch
- github.com Patch
- github.com Product
- www.vulncheck.com Third Party Advisory