CVE catalog

CVE-2022-48339

Emacs vulnerabilities

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.14% · Oct 25, 2026

A flaw was found in the Emacs package. If a file name or directory name contains shell metacharacters, arbitrary code may be executed. emacs: command injection vulnerability in htmlfontify.el This vulnerability is only triggered when a local user introduces untrusted input, via a file or directory with a crafted name. For this reason, this flaw has been rated with a Moderate security impact. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianemacssid1:30.2+1-11fixed
Debianemacsforky1:30.2+1-11fixed
Debianemacstrixie1:30.1+1-6+deb13u1fixed
Debianemacstrixie-security1:30.1+1-6+deb13u1fixed
Debianemacsbookworm1:28.2+1-15+deb12u4fixed
Debianemacsbookworm-security1:28.2+1-15+deb12u4fixed
Ubuntuemacsnoble1:29.3+1-1ubuntu2+esm1fixed
Ubuntuemacs-bin-commonnoble1:29.3+1-1ubuntu2+esm1fixed
Ubuntuemacs-commonnoble1:29.3+1-1ubuntu2+esm1fixed
Ubuntuemacs-elnoble1:29.3+1-1ubuntu2+esm1fixed
Ubuntuemacs-gtknoble1:29.3+1-1ubuntu2+esm1fixed
Ubuntuemacs-lucidnoble1:29.3+1-1ubuntu2+esm1fixed
Ubuntuemacs-noxnoble1:29.3+1-1ubuntu2+esm1fixed
Ubuntuemacs-pgtknoble1:29.3+1-1ubuntu2+esm1fixed
Ubuntuemacs24pro24.5+1-1ubuntu2vulnerable
Ubuntuemacs24pro24.5+1-1ubuntu4vulnerable
Ubuntuemacs24pro24.5+1-1ubuntu5vulnerable
Ubuntuemacs24pro24.5+1-1ubuntu6vulnerable
Ubuntuemacs24pro24.5+1-1ubuntu7vulnerable
Ubuntuemacs24pro24.5+1-6ubuntu1vulnerable
Ubuntuemacs24pro24.5+1-6ubuntu1.1vulnerable
Ubuntuemacs24pro24.5+1-6ubuntu1.1+esm1vulnerable
Ubuntuemacs24pro24.5+1-6ubuntu1.1+esm2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianemacssourcesid1:28.2+1-11not yet assignedNot reported[1031730]
Debianemacssourceforky1:28.2+1-11not yet assignedNot reported[1031730]
Debianemacssourcetrixie1:28.2+1-11not yet assignedNot reported[1031730]
Debianemacssourcebookworm1:28.2+1-11not yet assignedNot reported[1031730]
Ubuntuemacsdebnoble1:29.3+1-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntuemacs-bin-commondebnoble1:29.3+1-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntuemacs-commondebnoble1:29.3+1-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntuemacs-eldebnoble1:29.3+1-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntuemacs-gtkdebnoble1:29.3+1-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntuemacs-luciddebnoble1:29.3+1-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntuemacs-noxdebnoble1:29.3+1-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntuemacs-pgtkdebnoble1:29.3+1-1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntuemacs24debpro24.5+1-6ubuntu1.1+esm2Not reportedUSN-5955-1Not reported

[Debian bug #1031730]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [emacs]Unknown
    Details (6)
    • 1:28.2+1-15+deb12u4 · all · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

  • Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

  • [emacs-common]Unknown

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · all · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

  • [emacs-el]Unknown

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · all · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

  • [emacs-gtk]Unknown

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

  • [emacs-lucid]Unknown

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

  • [emacs-nox]Unknown

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

  • [emacs-pgtk]Unknown

    Source package: [emacs]

    Details (2)
    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 1:28.2+1-11

      usn · emacs · debian · bookworm

Observed:

References