# CVE-2024-39331

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 29.4 (CNA); fix release not confirmed
- Status: published
- Published: 2024-06-23 · Modified: 2026-11-04
- Aliases: MGASA-2024-0276, SUSE-SU-2024:2293-1, SUSE-SU-2024:2567-1, RHSA-2024:4971, RHSA-2024:6203, RHSA-2024:6510, UBUNTU-CVE-2024-39331, DEBIAN-CVE-2024-39331, DLA-3848-1, DLA-3849-1, DSA-5718-1, DSA-5719-1, openSUSE-SU-2024:14117-1, openSUSE-SU-2026:10228-1, openSUSE-SU-2026:20928-1
- Record: https://cvemate.com/vulnerability/CVE-2024-39331 · JSON: https://cvemate.com/vulnerability/CVE-2024-39331/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.323%, percentile 71.892%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 38)

- debian emacs (Debian): \< 1:29.4+1-1 \| \< 1:26.1+1-3.2+deb10u6 \| \< 1:27.1+1-3.1+deb11u5 \| \< 1:28.2+1-15+deb12u3
- debian org-mode (Debian): All versions (No fix recorded) \| \< 9.7.5+dfsg-1 \| \< 9.1.14+dfsg-3+deb10u3 \| \< 9.4.0+dfsg-1+deb11u3
- ubuntu emacs (Ubuntu): \< 1:26.3+1-1ubuntu2+esm1 \| \< 1:27.1+1-3ubuntu5.2 \| \< 1:29.3+1-1ubuntu2+esm1
- ubuntu emacs24 (Ubuntu): \< 24.5+1-6ubuntu1.1+esm4
- ubuntu emacs25 (Ubuntu): \< 25.2+1-6ubuntu0.1~esm2
- ubuntu org-mode (Ubuntu): \< 8.3.3-2ubuntu0.1~esm1 \| \< 9.1.6+dfsg-1ubuntu0.1~esm1 \| \< 9.3.1+dfsg-1ubuntu0.1~esm1 \| \< 9.5.2+dfsh-4ubuntu0.1~esm1 \| \< 9.6.10+dfsg-1ubuntu0.1~esm1
- ubuntu xemacs21 (Ubuntu): All versions (No fix recorded)
- ubuntu xemacs21-packages (Ubuntu): All versions (No fix recorded)
- gnu emacs: \< 29.4
- mageia emacs (Mageia): \< 29.4-1.mga9
- opensuse emacs&distro=openSUSE Leap 15.5 (openSUSE): \< 27.2-150400.3.17.1
- opensuse emacs&distro=openSUSE Leap 15.6 (openSUSE): \< 27.2-150400.3.17.1
- opensuse emacs&distro=openSUSE Tumbleweed (openSUSE): \< 29.4-2.1
- opensuse syft&distro=openSUSE Leap 16.0 (openSUSE): \< 1.45.0-bp160.1.1
- opensuse syft&distro=openSUSE Tumbleweed (openSUSE): \< 1.42.1-1.1
- redhat emacs (Red Hat): \< 1:26.1-7.el8\_6.5 \| \< 1:26.1-10.el8\_8.6 \| \< 1:27.2-10.el9\_4
- redhat emacs-common (Red Hat): \< 1:26.1-7.el8\_6.5 \| \< 1:26.1-10.el8\_8.6 \| \< 1:27.2-10.el9\_4
- redhat emacs-common-debuginfo (Red Hat): \< 1:26.1-7.el8\_6.5 \| \< 1:26.1-10.el8\_8.6 \| \< 1:27.2-10.el9\_4
- redhat emacs-debuginfo (Red Hat): \< 1:26.1-7.el8\_6.5 \| \< 1:26.1-10.el8\_8.6 \| \< 1:27.2-10.el9\_4
- redhat emacs-debugsource (Red Hat): \< 1:26.1-7.el8\_6.5 \| \< 1:26.1-10.el8\_8.6 \| \< 1:27.2-10.el9\_4

## References (first 20 of 32)

- <https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29>
- <https://list.orgmode.org/87sex5gdqc.fsf%40localhost/>
- <https://lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.html>
- <https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8>
- <https://www.openwall.com/lists/oss-security/2024/06/23/1>
- <https://www.openwall.com/lists/oss-security/2024/06/23/2>
- <https://news.ycombinator.com/item?id=40768225>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00023.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00024.html>
- <https://advisories.mageia.org/MGASA-2024-0276.html>
- <https://bugs.mageia.org/show_bug.cgi?id=33433>
- <https://lists.suse.com/pipermail/sle-security-updates/2024-July/019003.html>
- <https://bugs.mageia.org/show_bug.cgi?id=33241>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242293-1/>
- <https://bugzilla.suse.com/1226957>
- <https://www.suse.com/security/cve/CVE-2024-39331>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242567-1/>
- <https://access.redhat.com/errata/RHSA-2024:4971>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2293942>

---

Data as of 2026-12-05T03:11:29.202Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
