{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-96442 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-96442 is a high-severity vulnerability in GNU Emacs, published on 23 Sep 2026."},"fix_prompt":"Check this codebase for CVE-2026-96442 and fix it if it is affected.\n\nWhat it is: CVE-2026-96442 is a high-severity vulnerability in GNU Emacs, published on 23 Sep 2026. \nExploitation: There is no known exploitation of CVE-2026-96442 in the wild and no public exploit code.\n\nAffected product: GNU Emacs. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-96442/ (Markdown: https://insights.sbomify.com/CVE-2026-96442/index.md)","id":"CVE-2026-96442","markdown":"https://insights.sbomify.com/CVE-2026-96442/index.md","name":"CVE-2026-96442","record":{"aliases":["ALSA-2026:85245","ALSA-2026:90800","AZL-103532","DEBIAN-CVE-2026-96442","GHSA-hmfx-447r-rwh3","OESA-2026-4406","RHSA-2026:85245","RLSA-2026:85245","RLSA-2026:90800","SUSE-SU-2026:23949-1","SUSE-SU-2026:4594-1","UBUNTU-CVE-2026-96442","openSUSE-SU-2026:11889-1","openSUSE-SU-2026:21974-1"],"analysis":null,"analysis_generated_by":null,"assigner":"redhat","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Emacs: emacs: arbitrary code execution in flymake mode","id":"CVE-2026-96442","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":39,"n_references":8,"next":{"headline":"Apache Doris: JDBC driver URL validation bypass leads to remote code execution","id":"CVE-2026-96443"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/almalinux/emacs","source":"ALSA-2026:90800"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/almalinux/emacs-common","source":"ALSA-2026:90800"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/almalinux/emacs-filesystem","source":"ALSA-2026:90800"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/almalinux/emacs-lucid","source":"ALSA-2026:90800"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/almalinux/emacs-nox","source":"ALSA-2026:90800"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"emacs-terminal","purl":"pkg:rpm/almalinux/emacs-terminal","source":"ALSA-2026:90800"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/almalinux/emacs","source":"ALSA-2026:85245"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/almalinux/emacs-common","source":"ALSA-2026:85245"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/almalinux/emacs-filesystem","source":"ALSA-2026:85245"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/almalinux/emacs-lucid","source":"ALSA-2026:85245"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/almalinux/emacs-nox","source":"ALSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/redhat/emacs","source":"RHSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/redhat/emacs-common","source":"RHSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-common-debuginfo","purl":"pkg:rpm/redhat/emacs-common-debuginfo","source":"RHSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-debuginfo","purl":"pkg:rpm/redhat/emacs-debuginfo","source":"RHSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-debugsource","purl":"pkg:rpm/redhat/emacs-debugsource","source":"RHSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/redhat/emacs-filesystem","source":"RHSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/redhat/emacs-lucid","source":"RHSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid-debuginfo","purl":"pkg:rpm/redhat/emacs-lucid-debuginfo","source":"RHSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/redhat/emacs-nox","source":"RHSA-2026:85245"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs-nox-debuginfo","purl":"pkg:rpm/redhat/emacs-nox-debuginfo","source":"RHSA-2026:85245"},{"ecosystem":"Rocky Linux:8","fixed":["1:26.1-15.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/rocky-linux/emacs?distro=rocky-linux-8\u0026epoch=1","source":"RLSA-2026:90800"},{"ecosystem":"Rocky Linux:9","fixed":["1:27.2-18.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/rocky-linux/emacs?distro=rocky-linux-9\u0026epoch=1","source":"RLSA-2026:85245"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP7","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["30.2-160000.4.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:23949-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["27.2-150400.3.34.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:4594-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["30.2-160000.4.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/suse/emacs\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:23949-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["30.2-160000.4.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/opensuse/emacs\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21974-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["31.1-4.1"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/opensuse/emacs\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11889-1"}],"prev":{"headline":"Flowring Agentflow 4.0 - Improper Limitation of a Pathname to a Restricted Directory（Path Traversal）","id":"CVE-2026-96440"},"products":["GNU Emacs","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"],"published":"2026-09-23","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-27","vendors":["GNU Emacs","Red Hat"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-96442/"}