{"id":"CVE-2026-96442","title":"A code execution flaw was found in Emacs, affecting versions prior to 31.2","summary":"A code execution flaw was found in Emacs, affecting versions prior to 31.2. The Flymake mode using language backends other than Lisp would execute arbitrary code from the edited file while performing syntax checking. Viewing or editing u…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-94"],"vendor":"Red Hat","product":"emacs","affected":["emacs (all versions)","emacs","emacs (all versions)","emacs (all versions)","emacs (all versions)"],"published":"2026-09-23","updated":"2026-09-23","sourceUpdated":"2026-09-23T19:40:10.000","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-96442","references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-96442","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2537347","label":"secalert@redhat.com"},{"url":"https://github.com/emacs-mirror/emacs/commit/135e6f63f08fee3d374fa1a5187bce941a2d3e3c","label":"secalert@redhat.com"},{"url":"https://github.com/emacs-mirror/emacs/commit/abc802ee2eb0b1663349ddf22a461f8e54a383fb","label":"secalert@redhat.com"},{"url":"https://www.openwall.com/lists/oss-security/2026/09/14/1","label":"secalert@redhat.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-96442.json"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-96442"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96442"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-23T13:54:08.909184Z"},"ingestedAt":"2026-09-23T10:21:54.381Z","slug":"CVE-2026-96442","body":"## Overview\n\nA code execution flaw was found in Emacs, affecting versions prior to 31.2. The Flymake mode using language backends other than Lisp would execute arbitrary code from the edited file while performing syntax checking. Viewing or editing untrusted files using Emacs could lead to arbitrary code execution with the privileges of the user running Emacs.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-09-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-96442.json)","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}