Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 542
Alerts This Week
Warning Icon 1 542

Ubuntu 24.04 LTS: USN-7027-1 critical: Emacs input sanitization flaws

ubuntu
Calendar Grey September 19, 2024
Scroller Ubuntu
Numerous significant vulnerabilities found in Emacs have been addressed in Ubuntu versions 16.04 through 24.04 LTS. Guidance for updating is included.
Several security issues were fixed in Emacs.

Summary

Several security issues were fixed in Emacs.

Software Description:

- emacs: GNU Emacs editor (metapackage)

- emacs25: GNU Emacs editor (with GTK+ GUI support)

- emacs24: GNU Emacs editor

Details:

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

...

Read the Full Advisory

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.04 LTS
   emacs                           1:29.3+1-1ubuntu2+esm1
                                   Available with Ubuntu Pro
   emacs-bin-common                1:29.3+1-1ubuntu2+esm1
                                   Available with Ubuntu Pro
   emacs-common                    1:29.3+1-1ubuntu2+esm1
                                   Available with Ubuntu Pro
   emacs-el                        1:29.3+1-1ubuntu2+esm1
                                   Available with Ubuntu Pro

Ubuntu 22.04 LTS
   emacs                           1:27.1+1-3ubuntu5.2
   emacs-bin-common                1:27.1+1-3ubuntu5.2
   emacs-common                    1:27.1+1-3ubuntu5.2
   emacs-el                        1:27.1+1-3ubuntu5.2

Ubuntu 20.04 LTS
   emacs                           1:26.3+1-1ubuntu2+esm1
                                   Available with Ubuntu Pro
   emacs-bin-common                1:26.3+1-1ubuntu2+esm1
                                   Available with Ubuntu Pro
   emacs-common                    1:26.3+1-1ubuntu2+esm1
                                   Available with Ubuntu Pro
   emacs-el                        1:26.3+1-1ubuntu2+esm1
                                   Available with Ubuntu Pro

Ubuntu 18.04 LTS
   emacs25                         25.2+1-6ubuntu0.1~esm2
                                   Available with Ubuntu Pro
   emacs25-bin-common              25.2+1-6ubuntu0.1~esm2
                                   Available with Ubuntu Pro
   emacs25-common                  25.2+1-6ubuntu0.1~esm2
                                   Available with Ubuntu Pro
   emacs25-el                      25.2+1-6ubuntu0.1~esm2
                                   Available with Ubuntu Pro

Ubuntu 16.04 LTS
   emacs24                         24.5+1-6ubuntu1.1+esm4
                                   Available with Ubuntu Pro
   emacs24-bin-common              24.5+1-6ubuntu1.1+esm4
                                   Available with Ubuntu Pro
   emacs24-common                  24.5+1-6ubuntu1.1+esm4
                                   Available with Ubuntu Pro
   emacs24-el                      24.5+1-6ubuntu1.1+esm4
                                   Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-7027-1

CVE-2022-45939, CVE-2022-48337, CVE-2022-48338, CVE-2022-48339,

CVE-2023-28617, CVE-2024-30203, CVE-2024-30204, CVE-2024-30205,

CVE-2024-39331,https://bugs.launchpad.net/ubuntu/+source/emacs/+bug/2070418

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7027-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.