Skip to content
OpenAdvisories
High · 7.8 CVE-2023-27985 EUVD-2023-31711GHSA-f5fq-43fc-vgcr

emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI. This is relate…

Published Mar 9, 2023 · Updated Mar 5, 2025 · Assigned by mitre

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 emacs 1:28.2+1-13 —
Debian 13 emacs 1:28.2+1-13 —
Debian 12 emacs 1:28.2+1-13 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 xemacs21 +1 No fix yet —
Ubuntu 26.04 LTS xemacs21 +1 No fix yet —
Ubuntu 25.10 xemacs21 +1 No fix yet —
Ubuntu 24.04 LTS xemacs21 +1 No fix yet —
Ubuntu 22.04 LTS xemacs21 +1 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xemacs21 +1 No fix yet —
Ubuntu 18.04 LTS xemacs21 +1 No fix yet —
Ubuntu 16.04 LTS xemacs21 +1 No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed emacs 28.2-3.1 openSUSE-SU-2024:12777-1
ReleasePackageFixed inAdvisory
Alpine v3.24 emacs 28.2-r5 —
Alpine v3.23 emacs 28.2-r5 —
Alpine v3.22 emacs 28.2-r5 —
Alpine v3.21 emacs 28.2-r5 —
Alpine v3.20 emacs 28.2-r5 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 emacs 28.2-r5 —
Alpine v3.18 emacs 28.2-r5 —
Alpine v3.17 emacs 28.2-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 emacs +6 1:28.2-3.amzn2023.0.4 ALAS2023-2023-134

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) emacs 28.2-4 —

Advisories 4

References