USN-7027-1: Emacs vulnerabilities

Published Sep 19, 2024
·
Updated

It was discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-45939) Xi Lu discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-48337) Xi Lu discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-48338) Xi Lu discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-48339) It was discovered that Emacs incorrectly handled filename sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-28617) It was discovered that Emacs incorrectly handled certain crafted files. An attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-30203, CVE-2024-30204, CVE-2024-30205) It was discovered that Emacs incorrectly handled certain crafted files. An attacker could possibly use this issue to execute arbitrary commands. (CVE-2024-39331)

Affected Software

40 affected componentsFixes available
All of the following
ubuntu/emacs<1:29.3+1-1ubuntu2+esm1
1:29.3+1-1ubuntu2+esm1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/emacs-bin-common<1:29.3+1-1ubuntu2+esm1
1:29.3+1-1ubuntu2+esm1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/emacs-common<1:29.3+1-1ubuntu2+esm1
1:29.3+1-1ubuntu2+esm1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/emacs-el<1:29.3+1-1ubuntu2+esm1
1:29.3+1-1ubuntu2+esm1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/emacs<1:27.1+1-3ubuntu5.2
1:27.1+1-3ubuntu5.2
Ubuntu Ubuntu=22.04
All of the following
ubuntu/emacs-bin-common<1:27.1+1-3ubuntu5.2
1:27.1+1-3ubuntu5.2
Ubuntu Ubuntu=22.04
All of the following
ubuntu/emacs-common<1:27.1+1-3ubuntu5.2
1:27.1+1-3ubuntu5.2
Ubuntu Ubuntu=22.04
All of the following
ubuntu/emacs-el<1:27.1+1-3ubuntu5.2
1:27.1+1-3ubuntu5.2
Ubuntu Ubuntu=22.04
All of the following
ubuntu/emacs<1:26.3+1-1ubuntu2+esm1
1:26.3+1-1ubuntu2+esm1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/emacs-bin-common<1:26.3+1-1ubuntu2+esm1
1:26.3+1-1ubuntu2+esm1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/emacs-common<1:26.3+1-1ubuntu2+esm1
1:26.3+1-1ubuntu2+esm1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/emacs-el<1:26.3+1-1ubuntu2+esm1
1:26.3+1-1ubuntu2+esm1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/emacs25<25.2+1-6ubuntu0.1~esm2
25.2+1-6ubuntu0.1~esm2
Ubuntu Ubuntu=18.04
All of the following
ubuntu/emacs25-bin-common<25.2+1-6ubuntu0.1~esm2
25.2+1-6ubuntu0.1~esm2
Ubuntu Ubuntu=18.04
All of the following
ubuntu/emacs25-common<25.2+1-6ubuntu0.1~esm2
25.2+1-6ubuntu0.1~esm2
Ubuntu Ubuntu=18.04
All of the following
ubuntu/emacs25-el<25.2+1-6ubuntu0.1~esm2
25.2+1-6ubuntu0.1~esm2
Ubuntu Ubuntu=18.04
All of the following
ubuntu/emacs24<24.5+1-6ubuntu1.1+esm4
24.5+1-6ubuntu1.1+esm4
Ubuntu Ubuntu=16.04
All of the following
ubuntu/emacs24-bin-common<24.5+1-6ubuntu1.1+esm4
24.5+1-6ubuntu1.1+esm4
Ubuntu Ubuntu=16.04
All of the following
ubuntu/emacs24-common<24.5+1-6ubuntu1.1+esm4
24.5+1-6ubuntu1.1+esm4
Ubuntu Ubuntu=16.04
All of the following
ubuntu/emacs24-el<24.5+1-6ubuntu1.1+esm4
24.5+1-6ubuntu1.1+esm4
Ubuntu Ubuntu=16.04

Event History

Sep 19, 2024
Advisory Published
via Ubuntu·12:00 AM

Frequently Asked Questions

1

What is the severity of USN-7027-1?

The vulnerability USN-7027-1 has a high severity level due to the potential for arbitrary command execution.

2

How do I fix USN-7027-1?

To fix USN-7027-1, update Emacs to the versions specified in the Ubuntu security notice.

3

What versions of Ubuntu are affected by USN-7027-1?

USN-7027-1 affects Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS.

4

What packages are impacted by USN-7027-1?

The impacted packages by USN-7027-1 include emacs, emacs-bin-common, emacs-common, and emacs-el.

5

Can I safely continue using Emacs on affected Ubuntu versions despite USN-7027-1?

Continuing to use Emacs without applying the update poses significant security risks due to the vulnerability present in USN-7027-1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203