๐Ÿ” CVE Alert

CVE-2026-40505

LOW 3.3

MuPDF mutool ANSI Injection via Metadata

CVSS Score
3.3
EPSS Score
0.0%
EPSS Percentile
2th

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.

CWE CWE-150
Vendor artifex software inc.
Product mupdf
Published Apr 16, 2026
Last Updated Apr 16, 2026
Stay Ahead of the Next One

Get instant alerts for artifex software inc. mupdf

Be the first to know when new low vulnerabilities affecting artifex software inc. mupdf are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Affected Versions

Artifex Software Inc. / MuPDF
0 < 0f17d789fe8c29b41e47663be82514aaca3a4dfb

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
cgit.ghostscript.com: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=0f17d789fe8c29b41e47663be82514aaca3a4dfb vulncheck.com: https://www.vulncheck.com/advisories/mupdf-mutool-ansi-injection-via-metadata

Credits

Niel Duysters