Impact
GNU Emacs versions 28.1 through 31.1 contain a flaw that permits arbitrary code execution when a user opens a file. The flaw stems from the handling of the untrusted value of the variable read-symbol-shorthands, which influences the intern and unintern functions in a way that can be exploited to execute code. This issue involves improper privilege management (CWE‑829) and improper control over code generation (CWE‑94), leading to a complete loss of confidentiality, integrity, and availability for the user’s session.
Affected Systems
The affected product is GNU Emacs, versions 28.1 up to and including 31.1. All installations of these versions that use the default configuration are potentially vulnerable.
Risk and Exploitability
The CVSS score of 7.5 indicates high severity. The EPSS score is not available, but the vulnerability is not listed in CISA KEV. The likely attack vector is local: a user that opens a file – even from an untrusted source – can exploit the flaw. The vulnerability involves improper privilege management (CWE‑829) and code generation mistakes (CWE‑94). The effect is complete loss of confidentiality, integrity, and availability for the user’s session. Due to the lack of an official patch or workaround in the provided data, this remains a significant risk for users of the affected versions.
OpenCVE Enrichment