Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-48339

25
FAUCET Score

CVE-2022-48339 is a command injection vulnerability in GNU Emacs through version 28.2, specifically within the htmlfontify.el component. It arises because the hfy-istext-command function fails to properly escape external input for file and source directory parameters, allowing shell metacharacters to execute arbitrary code. This vulnerability carries a high severity CVSS score of 7.8, indicating a local attack vector with low complexity, potentially leading to high impact on confidentiality, integrity, and availability. Currently, there is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
<= 28.2CPE matchmatch criteria
cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.8HIGH

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

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.13%
Probability of exploitation in next 30 days
EPSS Percentile
63.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-26
Model: v2026.06.15
This CVE's current EPSS score of 0.0113 is in the 60th percentile among its peer group of 11,616 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (9)

microsoftpatch availablevia msrc
Product: cbl2 emacs 28.2-4 on CBL Mariner 2.0Fixed in: 28.2-4
microsoftpatch availablevia msrc
Product: 18397-16823Fixed in: 28.2-4
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 x64Fixed in: 28.2-4
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 ARMFixed in: 28.2-4
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.6 Extended Update SupportFixed in: emacs-1:26.1-7.el8_6.3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.8 Extended Update SupportFixed in: emacs-1:26.1-10.el8_8.4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: emacs-1:27.2-8.el9_2.1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: emacs-1:24.3-23.el7_9.1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: emacs-1:26.1-11.el8
View patch

Vendor Advisories (3)

microsoft2023-Mar/CVE-2022-48339

CVE-2022-48339

Mar 14, 2023
redhatCVE-2022-48339Moderate

emacs: command injection vulnerability in htmlfontify.el

Feb 21, 2023
microsoft2023-Feb/CVE-2022-48339Important

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.

Feb 14, 2023

References

git.savannah.gnu.org / cgit/emacs.git/commit
Patch
lists.debian.org / debian-lts-announce/2023/05/msg00008.html
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK
debian.org / security/2023/dsa-5360
Third Party Advisory