5 matches found
CVE-2026-131959
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, executi...
CVE-2026-131959
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, executi...
CVE-2026-131959
GNU Emacs 31.1 is vulnerable to a code injection flaw in its handling of directory-local variables. A maliciously crafted .dir-locals.el file can provide a (REGEXP FUNCTION t) entry in the auto-mode-alist . When a matching file is opened, Emacs executes the FUNCTION before it can be validated by ...
PT-2026-150320
Name of the Vulnerable Software and Affected Versions GNU Emacs version 31.1 Description An issue exists in the handling of directory-local variables where a specially crafted .dir-locals.el file can lead to code injection. By supplying a REGEXP FUNCTION t entry in auto-mode-alist, an attacker ca...
SUSE CVE-2003-1232
Emacs 21.2.1 does not prompt or warn the user before executing Lisp code in the local variables section of a text file, which allows user-assisted attackers to execute arbitrary commands, as demonstrated using the mode-name variable...