Source: emacs Version: 1:30.2+1-11 X-Debbugs-CC: [email protected] Severity: grave Tags: security upstream Forwarded: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=82213
Hi, The following vulnerability was published for emacs. CVE-2026-131959[0]: | 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.) If you fix the vulnerability please also make sure to include the CVE (Common Vulnerabilities & Exposures) id in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-131959 https://www.cve.org/CVERecord?id=CVE-2026-131959 [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=82213 [2] https://www.openwall.com/lists/oss-security/2026/11/11/7 [3] https://cgit.git.savannah.gnu.org/cgit/emacs.git/commit/?id=205ae0b0583dbfe09e258164adbc49e130645221 Please adjust the affected versions in the BTS as needed. Regards, Salvatore

