p PatchFirst

CVE-2022-48339

CVE-2022-48339

CVSS 7.8 · High · EPSS 1.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • emacs Debian 12Update to 1:28.2+1-11
  • emacs Debian 13Update to 1:28.2+1-11
  • emacs Debian 14Update to 1:28.2+1-11
  • emacs24 Ubuntu Pro 16.04 LTSUpdate to 24.5+1-6ubuntu1.1+esm2
  • and 19 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="emacs"'
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="emacs24"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.

Published
Updated

Fixes in distributions

  • RLSA-2023:7083 · Rocky Linux 8 ·
  • USN-7027-1 · Ubuntu 22.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 24.04 LTS ·
  • RHSA-2024:1408 · Red Hat rhel eus 8.8 appstream, Red Hat rhel eus 8.8 baseos ·
  • RHSA-2024:1103 · Red Hat rhel eus 8.6 appstream, Red Hat rhel eus 8.6 baseos ·
  • RHSA-2023:7083 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
  • RHSA-2023:3481 · Red Hat Enterprise Linux 7 client, Red Hat Enterprise Linux 7 computenode, Red Hat Enterprise Linux 7 server, Red Hat Enterprise Linux 7 workstation ·
  • RHSA-2023:2626 · Red Hat Enterprise Linux 9 appstream ·
  • openSUSE-SU-2024:12721-1 · openSUSE Tumbleweed ·
  • ALSA-2023:7083 · AlmaLinux 8 ·
  • DLA-3416-1 · Debian 10 ·
  • ALSA-2023:2626 · AlmaLinux 9 ·
  • USN-5955-1 · Ubuntu Pro 16.04 LTS ·
  • SUSE-SU-2023:0675-1 · SUSE Enterprise Storage 7, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise Real Time 15 SP3, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Manager Proxy 4.2, SUSE Manager Server 4.2 ·
  • SUSE-SU-2023:0598-1 · openSUSE Leap 15.4, SUSE Linux Enterprise Module for Basesystem 15 SP4, SUSE Linux Enterprise Module for Desktop Applications 15 SP4 ·
  • SUSE-SU-2023:0597-1 · SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP4-ESPOS, SUSE Linux Enterprise Server 12 SP4-LTSS, SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·
  • DSA-5360-1 · Debian 11 ·

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • emacs Debian 12

    Affected ranges
    • ECOSYSTEM: < 1:28.2+1-11

    Update to 1:28.2+1-11

  • emacs Debian 13

    Affected ranges
    • ECOSYSTEM: < 1:28.2+1-11

    Update to 1:28.2+1-11

  • emacs Debian 14

    Affected ranges
    • ECOSYSTEM: < 1:28.2+1-11

    Update to 1:28.2+1-11

  • emacs24 Ubuntu Pro 16.04 LTS

    Versions
    • 24.5+1-1ubuntu2
    • 24.5+1-1ubuntu4
    • 24.5+1-1ubuntu5
    • 24.5+1-1ubuntu6
    • 24.5+1-1ubuntu7
    • 24.5+1-6ubuntu1
    All versions (8)
    • 24.5+1-6ubuntu1.1
    • 24.5+1-6ubuntu1.1+esm1
    Affected ranges
    • ECOSYSTEM: < 24.5+1-6ubuntu1.1+esm2

    Update to 24.5+1-6ubuntu1.1+esm2

  • xemacs21 Ubuntu 16.04 LTS

    Versions
    • 21.4.22-4ubuntu3
    • 21.4.22-14ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 16.04 LTS

    Versions
    • 2009.02.17.dfsg.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • emacs25 Ubuntu Pro 18.04 LTS

    Versions
    • 25.2+1-6
    Affected ranges
    • ECOSYSTEM: < 25.2+1-6ubuntu0.1~esm2

    Update to 25.2+1-6ubuntu0.1~esm2

  • xemacs21 Ubuntu 18.04 LTS

    Versions
    • 21.4.24-4ubuntu1
    • 21.4.24-5ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 18.04 LTS

    Versions
    • 2009.02.17.dfsg.2-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • emacs Ubuntu Pro 20.04 LTS

    Versions
    • 1:26.3+1-1ubuntu1
    • 1:26.3+1-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 1:26.3+1-1ubuntu2+esm1

    Update to 1:26.3+1-1ubuntu2+esm1

  • xemacs21 Ubuntu 20.04 LTS

    Versions
    • 21.4.24-8build1
    • 21.4.24-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 20.04 LTS

    Versions
    • 2009.02.17.dfsg.2-4
    • 2009.02.17.dfsg.2-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • emacs Ubuntu 22.04 LTS

    Versions
    • 1:27.1+1-3ubuntu3
    • 1:27.1+1-3ubuntu5
    • 1:27.1+1-3ubuntu5.1
    Affected ranges
    • ECOSYSTEM: < 1:27.1+1-3ubuntu5.2

    Update to 1:27.1+1-3ubuntu5.2

  • xemacs21 Ubuntu 22.04 LTS

    Versions
    • 21.4.24-9ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 22.04 LTS

    Versions
    • 2009.02.17.dfsg.2-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21 Ubuntu 24.04 LTS

    Versions
    • 21.4.24-12
    • 21.4.24-12build2
    • 21.4.24-12build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 24.04 LTS

    Versions
    • 2009.02.17.dfsg.3-2
    • 2009.02.17.dfsg.3-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21 Ubuntu 25.10

    Versions
    • 21.4.24-12build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 25.10

    Versions
    • 2009.02.17.dfsg.3-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21 Ubuntu 26.10

    Versions
    • 21.4.24-12build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 26.10

    Versions
    • 2009.02.17.dfsg.3-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21 Ubuntu 26.04 LTS

    Versions
    • 21.4.24-12build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • xemacs21-packages Ubuntu 26.04 LTS

    Versions
    • 2009.02.17.dfsg.3-3
    • 2009.02.17.dfsg.3-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →