{"id":"CVE-2026-40505","aliases":[],"cve":{"records":[{"id":"CVE-2026-40505","source":"VulnCheck","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-04-13T20:29:02.808Z","published":"2026-04-16T01:20:08.397Z","modified":"2026-11-08T14:02:51.444Z"}],"publishers":[{"name":"VulnCheck","role":"CNA","organizationId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","modified":"2026-11-08T14:02:51.444Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-04-16T13:53:40.763Z"}],"references":[{"url":"https://github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0","tags":["release-notes"],"source":"VulnCheck"},{"url":"https://github.com/ArtifexSoftware/mupdf/commit/0f17d789fe8c29b41e47663be82514aaca3a4dfb","tags":["patch"],"source":"VulnCheck"},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=0f17d789fe8c29b41e47663be82514aaca3a4dfb","tags":["issue-tracking"],"source":"VulnCheck"},{"url":"https://www.vulncheck.com/advisories/mupdf-mutool-ansi-injection-via-metadata","tags":["third-party-advisory"],"source":"VulnCheck"}],"weaknesses":[{"id":"CWE-150","description":"CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences","source":"VulnCheck"}],"applicability":[{"source":"VulnCheck","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*","versionEndExcluding":"1.27.0"},{"vulnerable":true,"criteria":"cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*"}]}]}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-04-16T13:53:13.801290Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"MuPDF < 1.27 mutool ANSI Injection via Metadata","titleSource":"VulnCheck","descriptionSource":"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.","score":4.8,"severity":"medium","published":"2026-04-16T01:20:08.397Z","modified":"2026-11-08T14:02:51.444Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Artifex Software Inc.","name":"MuPDF","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"1.27.0","versionType":"semver"},{"version":"0f17d789fe8c29b41e47663be82514aaca3a4dfb","status":"affected","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2026-40505"}],"remediation":[],"references":["https://github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0","https://github.com/ArtifexSoftware/mupdf/commit/0f17d789fe8c29b41e47663be82514aaca3a4dfb","https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=0f17d789fe8c29b41e47663be82514aaca3a4dfb","https://www.vulncheck.com/advisories/mupdf-mutool-ansi-injection-via-metadata"],"sources":[{"name":"CVE","id":"CVE-2026-40505","modified":"2026-11-08T14:02:51.444Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-40505"}],"assessments":[{"source":"VulnCheck","vector":"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","score":4.8},{"source":"VulnCheck","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":3.3}],"sourceAffected":[],"observedAt":"2026-11-08T14:19:25.280Z","kev":{"status":"not-listed","checkedAt":"2026-11-15T00:20:33.177Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-09T04:00:38.989Z","attemptedAt":"2026-11-09T04:00:38.989Z"},{"source":"GHSA","status":"refresh-failed","attemptedAt":"2026-11-09T04:00:33.092Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-09T04:00:32.915Z","attemptedAt":"2026-11-09T04:00:32.915Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-09T04:00:32.916Z","attemptedAt":"2026-11-09T04:00:32.916Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-40505","url":"https://www.first.org/epss/","probability":0.00166,"percentile":0.05907,"date":"2026-11-08","checkedAt":"2026-11-09T04:00:32.916Z"},{"source":"ENISA EUVD","id":"EUVD-2026-23147","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-23147","modified":"Nov 8, 2026, 2:02:51 PM","score":4.8,"vector":"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","checkedAt":"2026-11-09T04:00:32.915Z"},{"source":"NVD","id":"CVE-2026-40505","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40505","modified":"2026-10-26T21:10:00.170","score":4.8,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-09T04:00:38.989Z"},{"source":"NVD","id":"CVE-2026-40505","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40505","modified":"2026-10-26T21:10:00.170","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","checkedAt":"2026-11-09T04:00:38.989Z"}],"aiSummary":{"text":"MuPDF before version 1.27 has an ANSI injection vulnerability in mutool, allowing attackers to inject arbitrary ANSI escape sequences through crafted PDF metadata fields. This can manipulate terminal display for social engineering attacks. Attackers need access to run mutool info on a crafted PDF.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-08T16:21:13.219Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-40505"}]}}