CVE-2023-2491

NameCVE-2023-2491
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
emacs (PTS)buster (security), buster, buster (lts)1:26.1+1-3.2+deb10u6fixed
bullseye (security), bullseye1:27.1+1-3.1+deb11u5fixed
bookworm (security), bookworm1:28.2+1-15+deb12u3fixed
sid, trixie1:29.4+1-3fixed
emacs24 (PTS)jessie, jessie (lts)24.4+1-5+deb8u5fixed
stretch (security)24.5+1-11+deb9u1fixed
stretch (lts), stretch24.5+1-11+deb9u5fixed
emacs25 (PTS)stretch (security)25.1+1-4+deb9u1fixed
stretch (lts), stretch25.1+1-4+deb9u5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
emacssource(unstable)(not affected)
emacs24source(unstable)(not affected)
emacs25source(unstable)(not affected)

Notes

- emacs <not-affected> (Red Hat specific security regression from CVE-2023-28617 patches)
https://bugzilla.redhat.com/show_bug.cgi?id=2192873
- emacs24 <not-affected> (Red Hat specific security regression from CVE-2023-28617 patches)
- emacs25 <not-affected> (Red Hat specific security regression from CVE-2023-28617 patches)

Search for package or bug name: Reporting problems