# CVE-2023-2491

- 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-05-17 · Modified: 2025-01-22
- Aliases: RHSA-2023:3104
- Record: https://cvemate.com/vulnerability/CVE-2023-2491 · JSON: https://cvemate.com/vulnerability/CVE-2023-2491/json

## Description

```text
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.
```

## Signals

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

- 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
- redhat emacs (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-common (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-common-debuginfo (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-debuginfo (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-debugsource (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-filesystem (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-lucid (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-lucid-debuginfo (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-nox (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-nox-debuginfo (Red Hat): \< 1:26.1-10.el8\_8.2
- redhat emacs-terminal (Red Hat): \< 1:26.1-10.el8\_8.2

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2192873>
- <https://access.redhat.com/security/cve/CVE-2023-2491>
- <https://access.redhat.com/errata/RHSA-2023:3104>
- <https://access.redhat.com/errata/RHSA-2023:2626>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3104.json>
- <https://www.cve.org/CVERecord?id=CVE-2023-2491>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-2491>

---

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