VulnerabilityCVE-2026-131959UBUNTU-CVE-2026-131959WID-SEC-W-2026-4652:CVE-2026-131959
GNU Emacs 31.1 contains a code injection vulnerability in its handling of directory-local variables.
Not on CISA KEV
Summary
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,
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- NVD This product uses the NVD API but is not endorsed or certified by the NVD.
- Ubuntu Source: Ubuntu