{"id":"CVE-2026-96442","summary":"Emacs: emacs: arbitrary code execution in flymake mode","details":"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 untrusted files using Emacs could lead to arbitrary code execution with the privileges of the user running Emacs.","modified":"2026-11-30T03:00:12.961143787Z","published":"2026-09-23T10:10:36.734Z","related":["ALSA-2026:84591","ALSA-2026:85245","ALSA-2026:90800","ALSA-2026:98574","ALSA-2026:99160","SUSE-SU-2026:23949-1","SUSE-SU-2026:4594-1","openSUSE-SU-2026:11889-1","openSUSE-SU-2026:21974-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"31.2"}],"source":"DESCRIPTION"}]}],"cna_assigner":"redhat","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96442.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://git.savannah.gnu.org/cgit/emacs.git/"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2026/09/14/1"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:84591"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:85245"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:90800"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:98574"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:99160"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-96442"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96442.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96442"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2537347"},{"type":"FIX","url":"https://github.com/emacs-mirror/emacs/commit/135e6f63f08fee3d374fa1a5187bce941a2d3e3c"},{"type":"FIX","url":"https://github.com/emacs-mirror/emacs/commit/abc802ee2eb0b1663349ddf22a461f8e54a383fb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/emacs-mirror/emacs","events":[{"introduced":"0"},{"fixed":"135e6f63f08fee3d374fa1a5187bce941a2d3e3c"},{"fixed":"abc802ee2eb0b1663349ddf22a461f8e54a383fb"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"135e6f63f08fee3d374fa1a5187bce941a2d3e3c"}]},{"range":[{"fixed":"abc802ee2eb0b1663349ddf22a461f8e54a383fb"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["emacs-31.1","emacs-31.1-rc1","emacs-31.0.91","emacs-31.0.90","emacs-pretest-23.1.92","emacs-pretest-23.1.91","emacs-pretest-23.1.90","emacs-pretest-23.0.95","mh-e-8.2","mh-e-doc-8.2","emacs-pretest-23.0.94","emacs-pretest-23.0.93","emacs-pretest-23.0.92","emacs-pretest-23.0.91","emacs-pretest-23.0.90","mh-e-doc-8.1","mh-e-8.1","emacs-pretest-22.0.98","emacs-pretest-22.0.97","emacs-pretest-22.0.96","emacs-pretest-22.0.95","emacs-pretest-22.0.94","emacs-pretest-22.0.93","emacs-pretest-22.0.92","emacs-pretest-22.0.91","mh-e-8.0.3","mh-e-doc-8.0.3","emacs-pretest-22.0.90","mh-e-8.0.2","mh-e-doc-8.0.1","mh-e-8.0.1","mh-e-doc-8.0","mh-e-8.0","ttn-vms-21-2-B4","emacs-pretest-21.0.106","emacs-pretest-21.0.105","emacs-pretest-21.0.104","emacs-pretest-21.0.103","emacs-pretest-21.0.102","emacs-pretest-21.0.101","emacs-pretest-21.0.100","emacs-pretest-21.0.99","emacs-pretest-21.0.98","emacs-pretest-21.0.97","emacs-pretest-21.0.96","emacs-pretest-21.0.95","emacs-pretest-21.0.93","emacs-pretest-21.0.92","emacs-pretest-21.0.91","emacs-pretest-21.0.90","emacs-20.4","emacs-20.3","emacs-20.2","emacs-20.1","emacs-19.34"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-96442.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}