CVE-2023-2491: gnu emacs Command Injection
Vulnerability summary
CVE-2023-2491 is a high (CVSS 7.8) Command Injection vulnerability in gnu emacs. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 17-05-2023PublishedVulnerability first disclosed.
- 22-01-2025Last modifiedVulnerability information updated.
Description
A flaw was found in the Emacs text editor. Processing a specially crafted org-mode code with the "org-babel-execute:latex" function in ob-latex.el can result in arbitrary command execution. This CVE exists because of a CVE-2023-28617 security regression for the emacs package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
0.00 pp
From 0.46% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat15 products
- enterprise_linux8.0 | 9.0
- enterprise_linux_eus8.8 | 9.2
- enterprise_linux_server_aus8.8 | 9.2
- enterprise_linux_server_tus8.8
- emacs< 1:26.1-10.el8_8.2
Gnu1 product
- emacs26.1-9.el8 | 27.2-8.el9
2 vendors · 16 products
References
8 links- access.redhat.com/errata/RHSA-2023:2626Third Party Advisory