USN-7027-1

Type: Security
Severity: Medium
Published: 2024-09-19
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

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) Update Instructions: Run `sudo pro fix USN-7027-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: emacs - 1:26.3+1-1ubuntu2+esm1 emacs-bin-common - 1:26.3+1-1ubuntu2+esm1 emacs-common - 1:26.3+1-1ubuntu2+esm1 emacs-el - 1:26.3+1-1ubuntu2+esm1 emacs-gtk - 1:26.3+1-1ubuntu2+esm1 emacs-lucid - 1:26.3+1-1ubuntu2+esm1 emacs-nox - 1:26.3+1-1ubuntu2+esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T03:50:42.912Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T03:50:42.912Z UTC. Last updated 2025-11-26T08:32:21.543Z UTC.

Upstream Advisory

Affected Packages

  • emacs 1:26.3+1-1ubuntu2+esm1-1:26.3+1-1ubuntu2+esm1

  • emacs-bin-common 1:26.3+1-1ubuntu2+esm1-1:26.3+1-1ubuntu2+esm1

  • emacs-common 1:26.3+1-1ubuntu2+esm1-1:26.3+1-1ubuntu2+esm1

  • emacs-el 1:26.3+1-1ubuntu2+esm1-1:26.3+1-1ubuntu2+esm1

  • emacs-gtk 1:26.3+1-1ubuntu2+esm1-1:26.3+1-1ubuntu2+esm1

  • emacs-lucid 1:26.3+1-1ubuntu2+esm1-1:26.3+1-1ubuntu2+esm1

  • emacs-nox 1:26.3+1-1ubuntu2+esm1-1:26.3+1-1ubuntu2+esm1

  • emacs 1:27.1+1-3ubuntu5.2-1:27.1+1-3ubuntu5.2

  • emacs-bin-common 1:27.1+1-3ubuntu5.2-1:27.1+1-3ubuntu5.2

  • emacs-common 1:27.1+1-3ubuntu5.2-1:27.1+1-3ubuntu5.2

  • emacs-el 1:27.1+1-3ubuntu5.2-1:27.1+1-3ubuntu5.2

  • emacs-gtk 1:27.1+1-3ubuntu5.2-1:27.1+1-3ubuntu5.2

  • emacs-lucid 1:27.1+1-3ubuntu5.2-1:27.1+1-3ubuntu5.2

  • emacs-nox 1:27.1+1-3ubuntu5.2-1:27.1+1-3ubuntu5.2

  • emacs 1:29.3+1-1ubuntu2+esm1-1:29.3+1-1ubuntu2+esm1

  • emacs-bin-common 1:29.3+1-1ubuntu2+esm1-1:29.3+1-1ubuntu2+esm1

  • emacs-common 1:29.3+1-1ubuntu2+esm1-1:29.3+1-1ubuntu2+esm1

  • emacs-el 1:29.3+1-1ubuntu2+esm1-1:29.3+1-1ubuntu2+esm1

  • emacs-gtk 1:29.3+1-1ubuntu2+esm1-1:29.3+1-1ubuntu2+esm1

  • emacs-lucid 1:29.3+1-1ubuntu2+esm1-1:29.3+1-1ubuntu2+esm1

  • emacs-nox 1:29.3+1-1ubuntu2+esm1-1:29.3+1-1ubuntu2+esm1

  • emacs-pgtk 1:29.3+1-1ubuntu2+esm1-1:29.3+1-1ubuntu2+esm1

Interested in being alerted when there are new versions of emacs and the other packages? Set up an alert.
USN-7027-1: Emacs vulnerabilities | Package Alert