Security mailing lists by PureSourceCode

CVE-2026-131959

HIGH 7.8CVSS 3.1

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.)

Published
18 Nov 2026
Last modified
18 Nov 2026
Assigned by
cve@mitre.org
NVD status
Received
Weakness
CWE-829
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve@mitre.org (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References

History

  • 25 Nov 2026 21:23 UTC ยท NVD: first stored (published 18 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.