CVE-2023-2491: GNU Emacs

High severity, CVSS 7.8. EPSS: 0.5% chance of exploitation in the next 30 days.

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.

Affected products

  • GNU Emacs: version 26.1-9.el8 only; version 27.2-8.el9 only
  • Red Hat Enterprise Linux: version 8.0 only; version 9.0 only
  • Red Hat Enterprise Linux Eus: version 8.8 only; version 9.2 only
  • Red Hat Enterprise Linux Server Aus: version 8.8 only; version 9.2 only
  • Red Hat Enterprise Linux Server Tus: version 8.8 only

Published 2023-05-17. Last modified 2026-06-17.