Advisory

DEBIAN-CVE-2026-40505

Also known as: CVE-2026-40505

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-04-16 02:16 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

mupdf

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

mupdf

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

mupdf

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.27.0+ds1-5 (ecosystem)

Fixed versions

1.27.0+ds1-5

Fix

  • Fixed version 1.27.0+ds1-5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences