Report: Essential Guide: CVE-2026-40505 - MuPDF mutool ANSI Injection via Metadata

Report: Essential Guide: CVE-2026-40505 - MuPDF mutool ANSI Injection via Metadata

CVE ID :CVE-2026-40505 Published : April 16, 2026, 2:16 a.m. | 31 minutes ago Description :MuPDF mutool does not sanitize PDF metadata fields before writing them to terminal output, allowing attackers to inject arbitrary ANSI escape sequences through crafted PDF metadata. Attackers can embed malicious ANSI escape codes in PDF metadata that are passed unsanitized to the terminal when running mutool info, enabling them to clear the terminal display and render arbitrary text for social engineering attacks such as presenting fake prompts or spoofed commands. Severity: 4.8 | MEDIUM Visit the link for more details, such as CVSS details, affected products, timeline, and more...

CVE Details

Severity
MEDIUM
Published
April 16, 2026