PoC Monitor
← All CVEs
CVE-2026-96442published 23 Sep 2026 10:10 UTCData: JSON · API

GNU Emacs

Emacs: emacs: arbitrary code execution in flymake mode

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

GNU Emacs GNU Emacs
  • < 31.2

Fixed in 31.2

Red Hat Red Hat Enterprise Linux 10

    Fixed in 1:29.4-14.el10_2.3

    Red Hat Red Hat Enterprise Linux 10

      Fixed in 1:29.4-17.el10_3

      Red Hat Red Hat Enterprise Linux 8

        Fixed in 1:26.1-15.el8_10.4

        Red Hat Red Hat Enterprise Linux 8

          Fixed in 1:26.1-15.el8_10.4

          Red Hat Red Hat Enterprise Linux 9

            Fixed in 1:27.2-18.el9_8.3

            Red Hat Red Hat Enterprise Linux 9

              Fixed in 1:27.2-18.el9_9.1

              Mitigation

              Upgrade GNU Emacs to 31.2 or later.

              Upgrade Red Hat Enterprise Linux 10 to 1:29.4-14.el10_2.3 or later.

              Upgrade Red Hat Enterprise Linux 10 to 1:29.4-17.el10_3 or later.

              Upgrade Red Hat Enterprise Linux 8 to 1:26.1-15.el8_10.4 or later.

              Upgrade Red Hat Enterprise Linux 8 to 1:26.1-15.el8_10.4 or later.

              Upgrade Red Hat Enterprise Linux 9 to 1:27.2-18.el9_8.3 or later.

              Upgrade Red Hat Enterprise Linux 9 to 1:27.2-18.el9_9.1 or later.

              Workaround

              To mitigate this issue, users should avoid opening or editing untrusted text files with Emacs. Exercise caution when handling files from unknown or suspicious sources, as interacting with them can lead to arbitrary code execution.

              References

              4 more

              Timeline

              Days relative to CVE publication
              -2t=0+2+4+6+8CVE published23 Sep 2026 · t = 0

              No public PoC found yet; not in CISA KEV.

              PoC repositories

              Found on GitHub.

              No PoC repositories found yet.