Answer in brief
CVE-2026-40505 records a Medium severity (CVSS 4.8) vulnerability in MuPDF < 1.27 mutool ANSI Injection via Metadata. The current sources do not mark it as known exploited. The current feed maps Artifex Software Inc./MuPDF (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 4.8. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps Artifex Software Inc./MuPDF (generic). Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| Artifex Software Inc./MuPDFgeneric | >=0 <1.27.0 || 0f17d789fe8c29b41e47663be82514aaca3a4dfb | 1.27.0 |
Published upstream
Apr 16, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Nov 8, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Oct 28, 2026
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.
Quoted source text, attributed separately from HOL analysis.