# CVE-2023-2491: A flaw was found in the Emacs text editor.

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-02)
- Published: 2023-05-17T00:00:00.000Z
- Modified: 2026-06-17T05:52:42.710Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- emacs: Affects emacs v26.1-9.el8 and emacs v27.2-8.el9, Fixed in emacs v26.1-10.el8_8.2 and emacs v27.2-8.el9_2.1
- gnu emacs: 26.1-9.el8; 27.2-8.el9
- redhat enterprise_linux: 8.0; 9.0
- redhat enterprise_linux_eus: 8.8; 9.2
- redhat enterprise_linux_server_aus: 8.8; 9.2
- redhat enterprise_linux_server_tus: 8.8

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2192873> (issue-tracking, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-2491> (third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2023:3104> (third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2023:2626> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-2491](https://www.cve.org/CVERecord?id=CVE-2023-2491), CVE Terms of Use, modified 2025-01-22
- NVD: [CVE-2023-2491](https://nvd.nist.gov/vuln/detail/CVE-2023-2491), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2491 · Whole record: https://cve.day/CVE-2023-2491.json · Rebuilt by cve.day 2026-11-25T22:58:24.231Z
