An issue was discovered in GNU Emacs through 28.2.
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.1% (FIRST EPSS); higher than 66.2% of all records.
- Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: emacs (AlmaLinux:8) 1:26.1-11.el8; emacs-common (AlmaLinux:8) 1:26.1-11.el8; emacs-filesystem (AlmaLinux:8) 1:26.1-11.el8.
Low priority for now. Upgrade to emacs (AlmaLinux:8) 1:26.1-11.el8; emacs-common (AlmaLinux:8) 1:26.1-11.el8; emacs-filesystem (AlmaLinux:8) 1:26.1-11.el8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Feb 20, 2023
- Updated
- Jun 17, 2026
- EPSS
- 1.1% · 66th percentile
- CWE
- CWE-116
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gnu | emacs | cpe:2.3:a:gnu:emacs |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnu emacsup to 28.2 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | emacs | before 1:26.1-11.el8 | 1:26.1-11.el8 |
| AlmaLinux:8 | emacs-common | before 1:26.1-11.el8 | 1:26.1-11.el8 |
| AlmaLinux:8 | emacs-filesystem | before 1:26.1-11.el8 | 1:26.1-11.el8 |
| AlmaLinux:8 | emacs-lucid | before 1:26.1-11.el8 | 1:26.1-11.el8 |
| AlmaLinux:8 | emacs-nox | before 1:26.1-11.el8 | 1:26.1-11.el8 |
| AlmaLinux:8 | emacs-terminal | before 1:26.1-11.el8 | 1:26.1-11.el8 |
| AlmaLinux:9 | emacs | before 1:27.2-8.el9_2.1 | 1:27.2-8.el9_2.1 |
| AlmaLinux:9 | emacs-common | before 1:27.2-8.el9_2.1 | 1:27.2-8.el9_2.1 |
| AlmaLinux:9 | emacs-filesystem | before 1:27.2-8.el9_2.1 | 1:27.2-8.el9_2.1 |
| AlmaLinux:9 | emacs-lucid | before 1:27.2-8.el9_2.1 | 1:27.2-8.el9_2.1 |
| AlmaLinux:9 | emacs-nox | before 1:27.2-8.el9_2.1 | 1:27.2-8.el9_2.1 |
| Debian:10 | emacs | before 1:26.1+1-3.2+deb10u4 | 1:26.1+1-3.2+deb10u4 |
| Debian:11 | emacs | before 1:27.1+1-3.1+deb11u2 | 1:27.1+1-3.1+deb11u2 |
| Debian:12 | emacs | before 1:28.2+1-11 | 1:28.2+1-11 |
| openSUSE:Tumbleweed | emacs | before 28.2-2.1 | 28.2-2.1 |
| Red Hat:enterprise_linux:7::client | emacs | before 1:24.3-23.el7_9.1 | 1:24.3-23.el7_9.1 |
| Red Hat:enterprise_linux:7::client | emacs-common | before 1:24.3-23.el7_9.1 | 1:24.3-23.el7_9.1 |
| Red Hat:enterprise_linux:7::client | emacs-debuginfo | before 1:24.3-23.el7_9.1 | 1:24.3-23.el7_9.1 |
| Red Hat:enterprise_linux:7::client | emacs-el | before 1:24.3-23.el7_9.1 | 1:24.3-23.el7_9.1 |
| Red Hat:enterprise_linux:7::client | emacs-filesystem | before 1:24.3-23.el7_9.1 | 1:24.3-23.el7_9.1 |
| Red Hat:enterprise_linux:7::client | emacs-nox | before 1:24.3-23.el7_9.1 | 1:24.3-23.el7_9.1 |
| Red Hat:enterprise_linux:7::client | emacs-terminal | before 1:24.3-23.el7_9.1 | 1:24.3-23.el7_9.1 |
| Red Hat:enterprise_linux:8::appstream | emacs | before 1:26.1-11.el8 | 1:26.1-11.el8 |
| Red Hat:enterprise_linux:8::appstream | emacs-common | before 1:26.1-11.el8 | 1:26.1-11.el8 |
+46
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2007-6109Stack-based buffer overflow in emacs allows user-assisted attackers to cause a denial of service (application crash) and possibly have unspe41Plan
- CVE-2024-39331In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as s39Monitor
- CVE-2022-48337GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etag39Monitor
Published before and after this one in the same product
- ← EarlierCVE-2022-45939Nov 28, 2022 · GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etag31Monitor
- ← EarlierCVE-2022-48338Feb 20, 2023 · An issue was discovered in GNU Emacs through 28.2.29Monitor
- Later →CVE-2023-27985Mar 9, 2023 · emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI.31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:emacs | 1:27.2-8.el9_2.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:emacs-common | 1:27.2-8.el9_2.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:emacs-filesystem | 1:27.2-8.el9_2.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:emacs-lucid | 1:27.2-8.el9_2.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:emacs-nox | 1:27.2-8.el9_2.1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:emacs-terminal | 1:26.1-11.el8 · AlmaLinux:8 | Package registry (OSV) |
| debian:emacs | 1:28.2+1-11 · Debian:12 | Package registry (OSV) |
| opensuse:emacs | 27.2-150400.3.6.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| red hat:emacs | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-common | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-common-debuginfo | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-debuginfo | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-debugsource | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-el | 1:24.3-23.el7_9.1 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:emacs-filesystem | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-lucid | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-lucid-debuginfo | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-nox | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-nox-debuginfo | 1:27.2-8.el9_2.1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:emacs-terminal | 1:24.3-23.el7_9.1 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| rocky linux:emacs | 1:26.1-11.el8 · Rocky Linux:8 | Package registry (OSV) |
| suse:emacs | 24.3-25.12.1 · SUSE:OpenStack Cloud 9 | Package registry (OSV) |
| suse:emacs | 27.2-150400.3.6.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-116 · Improper Encoding or Escaping of OutputCVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
- 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/
- www.debian.org/security/2023/dsa-5360
Vendor advisories and official records. Exploit/PoC links are deliberately left out.