CVE-2026-40505Disclosure(artifex / mupdf)

LOWCVSS 4.8 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD 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.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-150

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • mupdf

Threat summary

  • 2 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Technical details provided in 2 signals
  • Disclosure: 2 classified signals
  • Peaked 1d ago at 1 mentions (2026-04-16); latest day: 1
  • 2 total mentions across 2 days

Affected systems

Vendors
Products
mupdf

Deep dive

Activity timeline2 mentions / 2d
00111Mentions · 2026-04-16: 1Mentions · 2026-04-17: 1Technical Details · 2026-04-16: 1Technical Details · 2026-04-17: 104-1604-17
Signal classification1 categories
Disclosure
2100.0%
Referenced assets2 URLs
Full discourse2 posts
  • CVE@CVEnew
    Disclosure

    CVE-2026-40505 MuPDF mutool does not sanitize PDF metadata fields before writing them to terminal output, allowing attackers to inject arbitrary ANSI escape sequences through crafte… https://www.cve.org/CVERecord?id=CVE-2026-40505

    Post summary

    This post announces a sanitization flaw in MuPDF mutool that permits injection of arbitrary ANSI escape sequences via PDF metadata.

    0000062
    57.2K followersView on X
  • Vulmon Vulnerability Feed@VulmonFeeds
    Disclosure

    CVE-2026-40505 ANSI Escape Sequence Injection in MuPDF mutool PDF Metadata Output https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-40505

    Post summary

    A new ANSI Escape Sequence Injection vulnerability (CVE-2026-40505) affecting MuPDF mutool PDF metadata output has been announced, but no PoC, exploit code, or mitigation details are provided.

    0000050
    4.0K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appartifexmupdf---

Explore more