p PatchFirst

CVE-2026-96442

CVE-2026-96442 · Emacs: emacs: arbitrary code execution in flymake mode

CVSS 7.8 · High · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

Published
Updated

Fixes in distributions

  • RHSA-2026:99160 · Red Hat Enterprise Linux 9 appstream ·
  • RHSA-2026:98574 · Red Hat Enterprise Linux 10.3 ·
  • RHSA-2026:90800 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
  • RLSA-2026:98574 · Rocky Linux 10 ·
  • RLSA-2026:99160 · Rocky Linux 9 ·
  • ALSA-2026:98574 · AlmaLinux 10 ·
  • ALSA-2026:99160 · AlmaLinux 9 ·
  • RLSA-2026:90800 · Rocky Linux 8 ·
  • ALSA-2026:90800 · AlmaLinux 8 ·
  • RLSA-2026:84591 · Rocky Linux 10 ·
  • RLSA-2026:85245 · Rocky Linux 9 ·
  • RHSA-2026:85245 · Red Hat Enterprise Linux 9 appstream ·
  • RHSA-2026:84591 · Red Hat Enterprise Linux 10.2 ·
  • ALSA-2026:84591 · AlmaLinux 10 ·
  • ALSA-2026:85245 · AlmaLinux 9 ·
  • SUSE-SU-2026:4594-1 · 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 for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • SUSE-SU-2026:23949-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:21974-1 · openSUSE Leap 16.0 ·
  • openSUSE-SU-2026:11889-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • gnu emacs

    Versions
    • ≥ 0, < 31.2: Affected (semver)

    Update to 31.2

  • red hat enterprise linux 10

    Versions
    • ≥ 1:29.4-14.el10_2.3: Not affected (rpm)

    No fix published

  • red hat enterprise linux 10

    Versions
    • ≥ 1:29.4-17.el10_3: Not affected (rpm)

    No fix published

  • red hat enterprise linux 8

    Versions
    • ≥ 1:26.1-15.el8_10.4: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9

    Versions
    • ≥ 1:27.2-18.el9_8.3: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9

    Versions
    • ≥ 1:27.2-18.el9_9.1: Not affected (rpm)

    No fix published

  • red hat enterprise linux 6

    No fix published

  • red hat enterprise linux 7

    No fix published

  • emacs Debian 12

    Versions
    • 1:28.2+1-15
    • 1:28.2+1-15+deb12u1
    • 1:28.2+1-15+deb12u2
    • 1:28.2+1-15+deb12u3
    • 1:28.2+1-15+deb12u4
    • 1:28.2+1-16
    All versions (53)
    • 1:29.1+1-1
    • 1:29.1+1-2
    • 1:29.1+1-3
    • 1:29.1+1-4
    • 1:29.1+1-5
    • 1:29.1+1-5~bpo12+1
    • 1:29.2+1-1
    • 1:29.2+1-2
    • 1:29.2+1-2~bpo12+1
    • 1:29.3+1-1
    • 1:29.3+1-2
    • 1:29.3+1-2~bpo12+1
    • 1:29.3+1-3
    • 1:29.3+1-3~bpo12+1
    • 1:29.4+1-1
    • 1:29.4+1-2
    • 1:29.4+1-2~bpo12+1
    • 1:29.4+1-3
    • 1:29.4+1-4
    • 1:29.4+1-4~bpo12+1
    • 1:29.4+1-5
    • 1:29.4+1-6
    • 1:29.4+1-6+alpha
    • 1:30.1+1-1
    • 1:30.1+1-2
    • 1:30.1+1-3
    • 1:30.1+1-3~bpo12+1
    • 1:30.1+1-4
    • 1:30.1+1-4~bpo12+1
    • 1:30.1+1-5
    • 1:30.1+1-5~bpo12+1
    • 1:30.1+1-6
    • 1:30.1+1-6~bpo12+1
    • 1:30.1+1-7
    • 1:30.1+1-8
    • 1:30.1+1-9
    • 1:30.2+1-1
    • 1:30.2+1-10
    • 1:30.2+1-11
    • 1:30.2+1-2
    • 1:30.2+1-3
    • 1:30.2+1-4
    • 1:30.2+1-5
    • 1:30.2+1-6
    • 1:30.2+1-7
    • 1:30.2+1-8
    • 1:30.2+1-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • emacs Debian 13

    Versions
    • 1:30.1+1-6
    • 1:30.1+1-6+deb13u1
    • 1:30.1+1-7
    • 1:30.1+1-8
    • 1:30.1+1-9
    • 1:30.2+1-1
    All versions (16)
    • 1:30.2+1-10
    • 1:30.2+1-11
    • 1:30.2+1-2
    • 1:30.2+1-3
    • 1:30.2+1-4
    • 1:30.2+1-5
    • 1:30.2+1-6
    • 1:30.2+1-7
    • 1:30.2+1-8
    • 1:30.2+1-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • emacs Debian 14

    Versions
    • 1:30.1+1-6
    • 1:30.1+1-7
    • 1:30.1+1-8
    • 1:30.1+1-9
    • 1:30.2+1-1
    • 1:30.2+1-10
    All versions (15)
    • 1:30.2+1-11
    • 1:30.2+1-2
    • 1:30.2+1-3
    • 1:30.2+1-4
    • 1:30.2+1-5
    • 1:30.2+1-6
    • 1:30.2+1-7
    • 1:30.2+1-8
    • 1:30.2+1-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • emacs24 Ubuntu Pro 16.04 LTS

    Versions
    • 24.5+1-1ubuntu2
    • 24.5+1-1ubuntu4
    • 24.5+1-1ubuntu5
    • 24.5+1-1ubuntu6
    • 24.5+1-1ubuntu7
    • 24.5+1-6ubuntu1
    All versions (11)
    • 24.5+1-6ubuntu1.1
    • 24.5+1-6ubuntu1.1+esm1
    • 24.5+1-6ubuntu1.1+esm2
    • 24.5+1-6ubuntu1.1+esm3
    • 24.5+1-6ubuntu1.1+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21 Ubuntu 16.04 LTS

    Versions
    • 21.4.22-4ubuntu3
    • 21.4.22-14ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 16.04 LTS

    Versions
    • 2009.02.17.dfsg.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • emacs25 Ubuntu Pro 18.04 LTS

    Versions
    • 25.2+1-6
    • 25.2+1-6ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21 Ubuntu 18.04 LTS

    Versions
    • 21.4.24-4ubuntu1
    • 21.4.24-5ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 18.04 LTS

    Versions
    • 2009.02.17.dfsg.2-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • emacs Ubuntu Pro 20.04 LTS

    Versions
    • 1:26.3+1-1ubuntu1
    • 1:26.3+1-1ubuntu2
    • 1:26.3+1-1ubuntu2+esm1
    • 1:26.3+1-1ubuntu2+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21 Ubuntu 20.04 LTS

    Versions
    • 21.4.24-8build1
    • 21.4.24-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 20.04 LTS

    Versions
    • 2009.02.17.dfsg.2-4
    • 2009.02.17.dfsg.2-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21 Ubuntu 22.04 LTS

    Versions
    • 21.4.24-9ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 22.04 LTS

    Versions
    • 2009.02.17.dfsg.2-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • emacs Ubuntu Pro 22.04 LTS

    Versions
    • 1:27.1+1-3ubuntu3
    • 1:27.1+1-3ubuntu5
    • 1:27.1+1-3ubuntu5.1
    • 1:27.1+1-3ubuntu5.2
    • 1:27.1+1-3ubuntu5.2+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21 Ubuntu 24.04 LTS

    Versions
    • 21.4.24-12
    • 21.4.24-12build2
    • 21.4.24-12build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →