# CVE-2023-28617

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-03-19 · Modified: 2025-11-03
- Aliases: MGASA-2023-0152, RHSA-2023:1915, RHSA-2023:1930, RHSA-2023:1931, RHSA-2023:1958, RHSA-2023:2010, RHSA-2023:2074, RHSA-2023:3189, UBUNTU-CVE-2023-28617, USN-6003-1, DEBIAN-CVE-2023-28617, DLA-3616-1
- Record: https://cvemate.com/vulnerability/CVE-2023-28617 · JSON: https://cvemate.com/vulnerability/CVE-2023-28617/json

## Description

```text
org-babel-execute:latex in ob-latex.el in Org Mode through 9.6.1 for GNU Emacs allows attackers to execute arbitrary commands via a file name or directory name that contains shell metacharacters.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.469%, percentile 42.237%, 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 21)

- debian emacs (Debian): \< 1:28.2+1-14
- debian org-mode (Debian): \< 9.5.2+dfsh-5 \| \< 9.1.14+dfsg-3+deb10u1
- ubuntu emacs (Ubuntu): \< 1:26.3+1-1ubuntu2+esm1 \| \< 1:27.1+1-3ubuntu5.2
- ubuntu emacs24 (Ubuntu): \< 24.5+1-6ubuntu1.1+esm3
- ubuntu emacs25 (Ubuntu): \< 25.2+1-6ubuntu0.1~esm2
- ubuntu org-mode (Ubuntu): \< 9.5.2+dfsh-4ubuntu0.1~esm1
- ubuntu xemacs21 (Ubuntu): All versions (No fix recorded)
- ubuntu xemacs21-packages (Ubuntu): All versions (No fix recorded)
- gnu org\_mode: ≤ 9.6.1
- mageia emacs (Mageia): \< 27.1-1.4.mga8
- redhat emacs (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1
- redhat emacs-common (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1
- redhat emacs-common-debuginfo (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1
- redhat emacs-debuginfo (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1
- redhat emacs-debugsource (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1
- redhat emacs-filesystem (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1
- redhat emacs-lucid (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1
- redhat emacs-lucid-debuginfo (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1
- redhat emacs-nox (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1
- redhat emacs-nox-debuginfo (Red Hat): \< 1:26.1-5.el8\_2.1 \| \< 1:26.1-7.el8\_7.1 \| \< 1:26.1-7.el8\_6.1 \| \< 1:26.1-5.el8\_4.1 \| \< 1:27.2-6.el9\_0.1 \| \< 1:27.2-6.el9\_1.1 \| \< 1:26.1-5.el8\_1.1

## References (first 20 of 33)

- <https://list.orgmode.org/tencent_04CF842704737012CCBCD63CD654DD41CA0A%40qq.com/T/#m6ef8e7d34b25fe17b4cbb655b161edce18c6655e>
- <https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8f8ec2ccf3f5ef8f38d68ec84a7e4739c45db485>
- <https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a8006ea580ed74f27f974d60b598143b04ad1741>
- <https://lists.debian.org/debian-lts-announce/2023/05/msg00008.html>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00019.html>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00033.html>
- <https://advisories.mageia.org/MGASA-2023-0152.html>
- <https://bugs.mageia.org/show_bug.cgi?id=31767>
- <https://ubuntu.com/security/notices/USN-6003-1>
- <https://access.redhat.com/errata/RHSA-2023:1915>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2180544>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1915.json>
- <https://access.redhat.com/security/cve/CVE-2023-28617>
- <https://www.cve.org/CVERecord?id=CVE-2023-28617>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28617>
- <https://access.redhat.com/errata/RHSA-2023:1930>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1930.json>
- <https://access.redhat.com/errata/RHSA-2023:1931>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1931.json>

---

Data as of 2026-12-05T03:12:43.336Z. 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
