p PatchFirst

CVE-2024-39331

CVE-2024-39331

CVSS 9.8 · Critical · EPSS 1.9% · Fix available

Compare with your installed version

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

  • emacs Debian 12Update to 1:28.2+1-15+deb12u3
  • emacs Debian 13Update to 1:29.4+1-1
  • emacs Debian 14Update to 1:29.4+1-1
  • org-mode Debian 12No fix published
  • and 19 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="emacs"'
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="org-mode"'

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.

In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string. This affects Org Mode before 9.7.5.

Published
Updated

Fixes in distributions

  • openSUSE-SU-2026:20928-1 · openSUSE Leap 16.0 ·
  • openSUSE-SU-2026:10228-1 · openSUSE Tumbleweed ·
  • RLSA-2024:6987 · Rocky Linux 8 ·
  • USN-7375-1 · Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS, Ubuntu Pro 24.04 LTS ·
  • RHSA-2024:6987 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
  • RHSA-2024:6510 · Red Hat Enterprise Linux 9 appstream ·
  • RHSA-2024:6203 · Red Hat rhel eus 8.8 appstream, Red Hat rhel eus 8.8 baseos ·
  • RHSA-2024:4971 · Red Hat rhel aus 8.6 appstream, Red Hat rhel aus 8.6 baseos, Red Hat rhel e4s 8.6 appstream, Red Hat rhel e4s 8.6 baseos, Red Hat rhel tus 8.6 appstream, Red Hat rhel tus 8.6 baseos ·
  • ALSA-2024:6987 · AlmaLinux 8 ·
  • USN-7027-1 · Ubuntu 22.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 24.04 LTS ·
  • ALSA-2024:6510 · AlmaLinux 9 ·
  • SUSE-SU-2024:2567-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP5, SUSE Linux Enterprise Module for Basesystem 15 SP6, SUSE Linux Enterprise Module for Desktop Applications 15 SP5, SUSE Linux Enterprise Module for Desktop Applications 15 SP6, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Manager Proxy 4.3, SUSE Manager Server 4.3 ·
  • openSUSE-SU-2024:14117-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2024:2297-1 · SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Linux Enterprise Server for SAP Applications 15 SP3 ·
  • SUSE-SU-2024:2293-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5 ·
  • DLA-3848-1 · Debian 10 ·
  • DLA-3849-1 · Debian 10 ·
  • DSA-5718-1 · Debian 11 ·
  • DSA-5719-1 · Debian 11, Debian 12 ·

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • emacs Debian 12

    Versions
    • 1:28.2+1-15
    • 1:28.2+1-15+deb12u1
    • 1:28.2+1-15+deb12u2
    Affected ranges
    • ECOSYSTEM: < 1:28.2+1-15+deb12u3

    Update to 1:28.2+1-15+deb12u3

  • emacs Debian 13

    Affected ranges
    • ECOSYSTEM: < 1:29.4+1-1

    Update to 1:29.4+1-1

  • emacs Debian 14

    Affected ranges
    • ECOSYSTEM: < 1:29.4+1-1

    Update to 1:29.4+1-1

  • org-mode Debian 12

    Versions
    • 9.5.2+dfsh-5
    • 9.6.10+dfsg-1
    • 9.6.21+dfsg-1
    • 9.6.23+dfsg-1
    • 9.6.28+dfsg-1
    • 9.6.6+dfsg-1~exp1
    All versions (30)
    • 9.6.7+dfsg-1
    • 9.6.8+dfsg-1
    • 9.6.9+dfsg-1
    • 9.7.11+dfsg-1
    • 9.7.13+dfsg-1
    • 9.7.15+dfsg-1
    • 9.7.16+dfsg-1
    • 9.7.19+dfsg-1
    • 9.7.25+dfsg-1
    • 9.7.27+dfsg-1
    • 9.7.29+dfsg-1
    • 9.7.34+dfsg-1
    • 9.7.36+dfsg-1
    • 9.7.5+dfsg-1
    • 9.7.6+dfsg-1
    • 9.7.6+dfsg-2
    • 9.8.10+dfsg-1
    • 9.8.12+dfsg-1
    • 9.8.2+dfsg-1
    • 9.8.3+dfsg-1
    • 9.8.4+dfsg-1
    • 9.8.6+dfsg-1
    • 9.8.7+dfsg-1
    • 9.8.9+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • org-mode Debian 13

    Affected ranges
    • ECOSYSTEM: < 9.7.5+dfsg-1

    Update to 9.7.5+dfsg-1

  • org-mode Debian 14

    Affected ranges
    • ECOSYSTEM: < 9.7.5+dfsg-1

    Update to 9.7.5+dfsg-1

  • 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 (10)
    • 24.5+1-6ubuntu1.1
    • 24.5+1-6ubuntu1.1+esm1
    • 24.5+1-6ubuntu1.1+esm2
    • 24.5+1-6ubuntu1.1+esm3
    Affected ranges
    • ECOSYSTEM: < 24.5+1-6ubuntu1.1+esm4

    Update to 24.5+1-6ubuntu1.1+esm4

  • org-mode Ubuntu Pro 16.04 LTS

    Versions
    • 8.2.10-1
    • 8.3.1-2
    • 8.3.2-1
    • 8.3.3-1
    • 8.3.3-2
    Affected ranges
    • ECOSYSTEM: < 8.3.3-2ubuntu0.1~esm1

    Update to 8.3.3-2ubuntu0.1~esm1

  • 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
    Affected ranges
    • ECOSYSTEM: < 25.2+1-6ubuntu0.1~esm2

    Update to 25.2+1-6ubuntu0.1~esm2

  • org-mode Ubuntu Pro 18.04 LTS

    Versions
    • 9.0.9+dfsg-3
    • 9.1.2+dfsg-2
    • 9.1.5+dfsg-1
    • 9.1.6+dfsg-1
    Affected ranges
    • ECOSYSTEM: < 9.1.6+dfsg-1ubuntu0.1~esm1

    Update to 9.1.6+dfsg-1ubuntu0.1~esm1

  • 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
    Affected ranges
    • ECOSYSTEM: < 1:26.3+1-1ubuntu2+esm1

    Update to 1:26.3+1-1ubuntu2+esm1

  • org-mode Ubuntu Pro 20.04 LTS

    Versions
    • 9.2.3+dfsg-1
    • 9.3+dfsg-1
    • 9.3+dfsg-2
    • 9.3.1+dfsg-1
    Affected ranges
    • ECOSYSTEM: < 9.3.1+dfsg-1ubuntu0.1~esm1

    Update to 9.3.1+dfsg-1ubuntu0.1~esm1

  • 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

  • emacs Ubuntu 22.04 LTS

    Versions
    • 1:27.1+1-3ubuntu3
    • 1:27.1+1-3ubuntu5
    • 1:27.1+1-3ubuntu5.1
    Affected ranges
    • ECOSYSTEM: < 1:27.1+1-3ubuntu5.2

    Update to 1:27.1+1-3ubuntu5.2

  • 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

  • org-mode Ubuntu Pro 22.04 LTS

    Versions
    • 9.4.0+dfsg-1
    • 9.5.2+dfsh-1
    • 9.5.2+dfsh-2
    • 9.5.2+dfsh-3
    • 9.5.2+dfsh-4
    Affected ranges
    • ECOSYSTEM: < 9.5.2+dfsh-4ubuntu0.1~esm1

    Update to 9.5.2+dfsh-4ubuntu0.1~esm1

  • 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 →