← Database

CVE-2026-40505

LOW CVSS: 3.3 Published: 2026-04-16 Modified: 2026-06-17

Description

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.

Affected Platforms

Artifex Mupdf

Weakness Type

CWE-150

References