CVE-2026-40505MuPDF < 1.27 mutool ANSI Injection via Metadata
Descripción
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.
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| Artifex Software Inc. | MuPDF | < 1.27.0 |
Referencias y parches
- MuPDF 1.27.0 Release Notes release-notesProduct
- https://github.com/ArtifexSoftware/mupdf/commit/0f17d789fe8c29b41e47663be82514aaca3a4dfb patchPatch
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=0f17d789fe8c29b41e47663be82514aaca3a4dfb issue-trackingPatch
- https://www.vulncheck.com/advisories/mupdf-mutool-ansi-injection-via-metadata third-party-advisoryThird Party Advisory
Coincidencias CPE (NVD) (1)
cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*< 1.27.0