Code Injection in Emacs - CVE-2023-27986

 

Code Injection in Emacs - CVE-2023-27986

Published: March 24, 2023 / Updated: June 19, 2023


Vulnerability identifier: #VU74002
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-27986
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when parsing data passed via the mailto: URI. A remote attacker can trick the victim to click on a specially crafted URL and execute arbitrary Emacs Lisp code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Emacs
Amazon Linux AMI
Oracle Solaris
emacs

How to mitigate CVE-2023-27986

Install update from vendor's website.

emacs - update to 28.2-3

External References

Related Security Bulletins