Skip to content
LLMMedium

CVE-2026-40505: MuPDF before 1.27 contains an ANSI injection vulnerability in mutool that allows attackers to inject…

Occurred
Apr 16, 2026
Published
Apr 16, 2026
Source
NVD CVE

Summary

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.

Tags

  • CVE
  • CVE-2026-40505
  • cvss:LOW

Classification

Category confidence: 70%
Severity confidence: 80%

Rationale: This is a software vulnerability (ANSI injection) in a PDF rendering tool, not an AI/LLM incident, but it involves terminal manipulation which is a security issue.

Classifier: Qwen/Qwen3.5-35B-A3B-FP8

Visit source