RCE in Gnu Emacs

CVE-2023-27985

emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI. This is related to lack of compliance with the Desktop Entry Specification. It is fixed in 29.0.90

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.011 (61.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-27985?
CVE-2023-27985 is a high-severity vulnerability in Gnu Emacs, classified under OS Command Injection. CVSS score: 7.8/10. Published 2023-03-09.
How severe is CVE-2023-27985?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2023-27985 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.