Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-40505

published medium CVSS 4.0 · 4.8

MuPDF < 1.27 mutool ANSI Injection via Metadata

Published
16 Apr 2026, 01:20:08 UTC
Updated
08 Nov 2026, 14:02:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Artifex Software Inc. — MuPDF0 to < 1.27.0 · 0f17d789fe8c29b41e47663be82514aaca3a4dfb · Other versions: unaffected Affected Not stated VulnCheck

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
4.8 / 10
Severity
medium
Provider
VulnCheck · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 3.3 low VulnCheck · cna CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Artifex Software Inc. MuPDF 0 to < 1.27.0 (affected · semver)0f17d789fe8c29b41e47663be82514aaca3a4dfb (affected · git)Default: unaffected VulnCheck · cna

Weaknesses

1
  • CWE-150 CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences (VulnCheck · cna)

References

4

Provider assertions

2

VulnCheck · cna

MuPDF < 1.27 mutool ANSI Injection via Metadata

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
ab8e3e44d905cb818f8a5b8b270db99c4079e5c433d03714bd7af3c500e0b5fc
Ingested
08 Nov 2026, 14:13:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected