🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #3550

Bug#1154421: emacs: CVE-2026-131959

#3550
From: Salvatore Bonaccorso
Date: Wed, 18 Nov 2026 21:30
35 lines
2803 bytes
Source: emacs
Version: 1:30.2+1-11
X-Debbugs-CC: team@security.debian.org
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
Technical Details
Message-ID: <O0Vo5-cL8u-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Salvatore Bonaccorso <carnil@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1154421: emacs: CVE-2026-131959
Date: Wed, 18 Nov 2026 22:30:01 +0100
Message-ID: <O0Vo5-cL8u-7@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Wed Nov 18 21:23:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1154421@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, rlb@defaultvalue.org
X-Debian-Pr-Message: report 1154421
X-Debian-Pr-Package: src:emacs
X-Debian-Pr-Keywords: security upstream
X-Debian-Pr-Source: emacs
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: carnil
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838769
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 35
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 18 Nov 2026 22:20:29 +0100
X-Original-Message-ID: <av4WnY61Ecc4aPtT@eldamar.lan>