CVE & CISA-KEV Catalog

CVE-2023-28617

HIGH
7.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
emacsDebian
Fixed in:1:27.1+1-3.1+deb11u6CVE-2023-28617
Fixed in:1:28.2+1-14CVE-2023-28617
Fixed in:1:28.2+1-14CVE-2023-28617
Fixed in:1:28.2+1-14CVE-2023-28617
emacsRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacsRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-commonRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-commonRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-common-debuginfoRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-common-debuginfoRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-debuginfoRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-debuginfoRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-debugsourceRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-debugsourceRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-filesystemRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-filesystemRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-lucidRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-lucidRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-lucid-debuginfoRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-lucid-debuginfoRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-noxRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-noxRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-nox-debuginfoRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-nox-debuginfoRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-terminalRocky
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
emacs-terminalRed Hat / RHEL
Fixed in:1:26.1-5.el8_1.1RHSA-2023:3189
elpa-orgUbuntu
Fixed in:9.1.6+dfsg-1ubuntu0.1~esm1USN-7375-1
Fixed in:9.3.1+dfsg-1ubuntu0.1~esm1USN-7375-1
Fixed in:9.5.2+dfsh-4ubuntu0.1~esm1USN-7375-1
Fixed in:9.6.10+dfsg-1ubuntu0.1~esm1USN-7375-1
emacsUbuntu
Fixed in:1:26.3+1-1ubuntu2+esm1USN-7027-1
Fixed in:1:27.1+1-3ubuntu5.2USN-7027-1
Fixed in:1:29.3+1-1ubuntu2+esm1USN-7027-1
emacs-bin-commonUbuntu
Fixed in:1:26.3+1-1ubuntu2+esm1USN-7027-1
Fixed in:1:27.1+1-3ubuntu5.2USN-7027-1
Fixed in:1:29.3+1-1ubuntu2+esm1USN-7027-1
emacs-commonUbuntu
Fixed in:1:26.3+1-1ubuntu2+esm1USN-7027-1
Fixed in:1:27.1+1-3ubuntu5.2USN-7027-1
Fixed in:1:29.3+1-1ubuntu2+esm1USN-7027-1
emacs-elUbuntu
Fixed in:1:26.3+1-1ubuntu2+esm1USN-7027-1
Fixed in:1:27.1+1-3ubuntu5.2USN-7027-1
Fixed in:1:29.3+1-1ubuntu2+esm1USN-7027-1
emacs24Ubuntu
Fixed in:24.5+1-6ubuntu1.1+esm3USN-6003-1
Fixed in:24.5+1-6ubuntu1.1+esm4USN-7027-1
emacs24-bin-commonUbuntu
Fixed in:24.5+1-6ubuntu1.1+esm4USN-7027-1
emacs24-commonUbuntu
Fixed in:24.5+1-6ubuntu1.1+esm3USN-6003-1
Fixed in:24.5+1-6ubuntu1.1+esm4USN-7027-1
emacs24-elUbuntu
Fixed in:24.5+1-6ubuntu1.1+esm4USN-7027-1
emacs25Ubuntu
Fixed in:25.2+1-6ubuntu0.1~esm2USN-7027-1
emacs25-bin-commonUbuntu
Fixed in:25.2+1-6ubuntu0.1~esm2USN-7027-1
emacs25-commonUbuntu
Fixed in:25.2+1-6ubuntu0.1~esm2USN-7027-1
emacs25-elUbuntu
Fixed in:25.2+1-6ubuntu0.1~esm2USN-7027-1
org-modeUbuntu
Fixed in:8.3.3-2ubuntu0.1~esm1USN-7375-1
Fixed in:9.1.6+dfsg-1ubuntu0.1~esm1USN-7375-1
Fixed in:9.3.1+dfsg-1ubuntu0.1~esm1USN-7375-1
Fixed in:9.5.2+dfsh-4ubuntu0.1~esm1USN-7375-1
Fixed in:9.6.10+dfsg-1ubuntu0.1~esm1USN-7375-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

0.47%probability of exploitation in 30 days
37thpercentile

Low risk: more likely to be exploited than 37% of all known CVEs.

References

Related Vulnerabilities

Other CWE-78 (OS Command Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-1498Critical9.8100%KEVFix
CVE-2014-6271Critical9.8100%KEVFix
CVE-2019-16920Critical9.8100%KEV-
CVE-2022-44877Critical9.8100%KEVFix
CVE-2020-8515Critical9.8100%KEV-
CVE-2020-9054Critical9.8100%KEVFix
Embed a live status badge for CVE-2023-28617
CVE-2023-28617 severity badge

Markdown

[![CVE-2023-28617](https://tridentstack.com/cve/badge/CVE-2023-28617.svg)](https://tridentstack.com/cve/CVE-2023-28617)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-28617"><img src="https://tridentstack.com/cve/badge/CVE-2023-28617.svg" alt="CVE-2023-28617"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.