A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
GNU Emacs 31.1 contains a code injection vulnerability in its handling of directory-local variables. A crafted .dir-locals.el can supply a (REGEXP FUNCTION t) entry in auto-mode-alist; when a matching file is opened, Emacs calls FUNCTION before set-auto-mode--dir-local-valid-p validates it, executing arbitrary Emacs Lisp with the privileges of the Emacs process. (Emacs 30.2 is unaffected.)
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- cgit.git.savannah.gnu.org /cgit/emacs.git/commit/
- debbugs.gnu.org /82213
- www.openwall.com /lists/oss-security/2026/11/11/7
- x3r0day.github.io
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning