Vulnerability record · CVE-2023-2491 · published 17 May 2023
CVE-2023-2491: Gnu emacs command injection vulnerability
Gnu · Emacs
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.
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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2023:2626 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2023:3104 | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2023-2491 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2192873 | Issue TrackingThird Party Advisory |
| https://access.redhat.com/errata/RHSA-2023:2626 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2023:3104 | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2023-2491 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2192873 | Issue TrackingThird Party Advisory |
Track CVE-2023-2491 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-2491), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.