CVE & CISA-KEV Catalog

CVE-2022-48339

HIGH
7.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
emacsAmazon
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-commonAmazon
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-common-debuginfoAmazon
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-debuginfoAmazon
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-debugsourceAmazon
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-develAmazon
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-filesystemAmazon
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-lucidAmazon
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-lucid-debuginfoAmazon
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-noxAmazon
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-nox-debuginfoAmazon
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacs-terminalAmazon
Fixed in:1:27.2-4.amzn2.0.3
Fixed in:1:28.2-3.amzn2023.0.3
emacsDebian
Fixed in:1:28.2+1-11CVE-2022-48339
Fixed in:1:28.2+1-11CVE-2022-48339
Fixed in:1:28.2+1-11CVE-2022-48339
emacsRed Hat / RHEL
Fixed in:1:24.3-23.el7_9.1.ppc64RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
emacsRocky
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1.ppc64RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
emacs-commonRocky
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1.ppc64RHSA-2023:3481
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-11.el8RHSA-2023:7083
emacs-commonRed Hat / RHEL
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1.ppc64RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
emacs-common-debuginfoRed Hat / RHEL
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
emacs-common-debuginfoRocky
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
emacs-debuginfoRocky
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1.ppc64RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
emacs-debuginfoRed Hat / RHEL
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1.ppc64RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-11.el8RHSA-2023:7083
emacs-debugsourceRocky
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
emacs-debugsourceRed Hat / RHEL
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
emacs-elRed Hat / RHEL
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

emacs-elRocky
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
emacs-filesystemRed Hat / RHEL
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481

This Red Hat / RHEL release reached end-of-life on 2024-06-30. Extended security maintenance is available until 2029-05-31.

Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:27.2-8.el9_2.1RHSA-2023:2626
emacs-filesystemRocky
Fixed in:1:24.3-23.el7_9.1RHSA-2023:3481
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:27.2-8.el9_2.1RHSA-2023:2626
emacs-lucidRocky
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
emacs-lucidRed Hat / RHEL
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-11.el8RHSA-2023:7083
emacs-lucid-debuginfoRed Hat / RHEL
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-11.el8RHSA-2023:7083
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-7.el8_6.3RHSA-2024:1103
Fixed in:1:26.1-10.el8_8.4RHSA-2024:1408

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

1.14%probability of exploitation in 30 days
65thpercentile

Moderate risk: more likely to be exploited than 65% of all known CVEs.

References

Related Vulnerabilities

Other CWE-116 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-38475Critical9.1100%KEVFix
CVE-2022-36446Critical9.896%-Fix
CVE-2021-31806Medium6.596%-Fix
CVE-2022-30781High7.589%-Fix
CVE-2022-36099Critical9.976%-Fix
CVE-2022-36100Critical9.974%-Fix

Common questions

How do I fix CVE-2022-48339?

Published advisories record a fix for 49 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-48339 being actively exploited?

Not that we know of. CVE-2022-48339 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.1% is the estimated probability that it will be exploited in the next 30 days. That is higher than 65% of all scored CVEs.

How severe is CVE-2022-48339?

CVE-2022-48339 has a CVSS v3 base score of 7.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-48339 affect?

Published advisories record a fix for emacs (Amazon), emacs-common (Amazon), emacs-common-debuginfo (Amazon), emacs-debuginfo (Amazon), and 45 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-48339
CVE-2022-48339 severity badge

Markdown

[![CVE-2022-48339](https://tridentstack.com/cve/badge/CVE-2022-48339.svg)](https://tridentstack.com/cve/CVE-2022-48339)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-48339"><img src="https://tridentstack.com/cve/badge/CVE-2022-48339.svg" alt="CVE-2022-48339"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.