---
title: "GNU Emacs vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/gnu/emacs
type: product
description: "GNU Emacs has 45 published CVEs, 0 in CISA KEV and 7 with public exploits."
updated: 2026-11-18
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# GNU Emacs vulnerabilities

Vendor: [GNU](https://radicalnotion.ai/vendor/gnu)

- **Published CVEs:** 45
- **In CISA KEV:** 0
- **With a public exploit:** 7
- **With a patch:** 40
- **Average CVSS:** 6.3
- **First CVE:** 2000-04-26
- **Latest CVE:** 2026-11-18
- **Platforms:** android, debian linux, mandrake linux, mandrake linux corporate server, x86

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 4 |
| High | 18 |
| Medium | 15 |
| Low | 8 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-59](https://radicalnotion.ai/cwe/cwe-59) | Improper Link Resolution Before File Access | 5 |
| [CWE-78](https://radicalnotion.ai/cwe/cwe-78) | Improper Neutralization of Special Elements used in an OS Command | 4 |
| [CWE-94](https://radicalnotion.ai/cwe/cwe-94) | Improper Control of Generation of Code | 4 |
| [CWE-190](https://radicalnotion.ai/cwe/cwe-190) | Integer Overflow or Wraparound | 3 |
| [CWE-829](https://radicalnotion.ai/cwe/cwe-829) | Inclusion of Functionality from Untrusted Control Sphere | 3 |
| [CWE-20](https://radicalnotion.ai/cwe/cwe-20) | Improper Input Validation | 2 |
| [CWE-193](https://radicalnotion.ai/cwe/cwe-193) | Off-by-one Error | 2 |
| [CWE-200](https://radicalnotion.ai/cwe/cwe-200) | Exposure of Sensitive Information to an Unauthorized Actor | 2 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2017 | 3 |
| 2018 | 0 |
| 2019 | 0 |
| 2020 | 0 |
| 2021 | 0 |
| 2022 | 1 |
| 2023 | 6 |
| 2024 | 6 |
| 2025 | 1 |
| 2026 | 9 |

## Affected versions (top 24 of 112)

| Version | Kind | CVEs |
| --- | --- | --- |
| emacs-19.34 | exact | 7 |
| emacs-20.1 | exact | 7 |
| emacs-20.2 | exact | 7 |
| emacs-20.3 | exact | 7 |
| emacs-20.4 | exact | 7 |
| emacs-pretest-21.0.100 | exact | 7 |
| emacs-pretest-21.0.101 | exact | 7 |
| emacs-pretest-21.0.102 | exact | 7 |
| emacs-pretest-21.0.103 | exact | 7 |
| emacs-pretest-21.0.104 | exact | 7 |
| emacs-pretest-21.0.105 | exact | 7 |
| emacs-pretest-21.0.106 | exact | 7 |
| 20.4 | range | 9 |
| 20.0 | range | 8 |
| 20.1 | range | 8 |
| 20.2 | range | 8 |
| 20.3 | range | 8 |
| 20.5 | range | 8 |
| 20.6 | range | 8 |
| 21.3 | range | 7 |
| 20.7 | range | 6 |
| 21 | range | 6 |
| 21.1 | range | 6 |
| 21.2 | range | 6 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 29.3 | 4 |
| 29.4 | 1 |
| 29.4.0 | 1 |
| 30.1 | 1 |
| 31.0.91 | 1 |
| 31.2 | 1 |

## CVEs (first 30 of 45, most severe first)

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-131959 | emacs: .dir-locals.el auto-mode-alist bypass gives code execution on file open | high | 7.8 | No | Yes | Yes |
| CVE-2026-108976 | emacs: zero-click local command execution via TRAMP | high | 7.8 | No | No | Yes |
| CVE-2026-96269 | emacs: GNU Emacs: Arbitrary code execution upon opening a file | high | 7.5 | No | No | Yes |
| CVE-2026-77219 | GNU Emacs \< 31.0.91 Heap Over-Read via PBM/PPM/PGM Image Loader | medium | 6.9 | No | No | Yes |
| CVE-2026-71394 | Heap Use of Uninitialized Memory in GNU Emacs for Android | medium | 5.3 | No | No | Yes |
| CVE-2026-71393 | Heap Buffer Overflow in GNU Emacs for Android | medium | 5.3 | No | No | Yes |
| CVE-2026-71392 | Integer Overflow in GNU Emacs for Android | medium | 5.3 | No | No | Yes |
| CVE-2026-71391 | Off-by-One Error in GNU Emacs for Android | medium | 5.3 | No | No | Yes |
| CVE-2026-6861 | Emacs: emacs: memory corruption vulnerability when processing svg css | high | 7.1 | No | No | Yes |
| CVE-2025-1244 | Emacs: shell injection vulnerability in gnu emacs via custom "man" uri scheme | high | 8.8 | No | No | Yes |
| CVE-2024-53920 | emacs: arbitrary code execution via Lisp macro expansion | high | 8.8 | No | Yes | Yes |
| CVE-2024-39331 | emacs: org-link-expand-abbrev: Do not evaluate arbitrary unsafe Elisp code | critical | 9.8 | No | No | Yes |
| CVE-2024-30205 | emacs: Org mode considers contents of remote files to be trusted | high | 7.1 | No | No | Yes |
| CVE-2024-30204 | emacs: LaTeX preview is enabled by default for e-mail attachments | low | 2.8 | No | No | Yes |
| CVE-2024-30203 | emacs: Gnus treats inline MIME contents as trusted | medium | 5.5 | No | No | Yes |
| CVE-2024-30202 | emacs: arbitrary Lisp code is evaluated as part of turning on Org mode | high | 7.8 | No | No | Yes |
| CVE-2023-2491 | emacs: Regression of CVE-2023-28617 fixes in the Red Hat Enterprise Linux | high | 7.8 | No | No | Yes |
| CVE-2023-27986 | emacs: Emacs Lisp code injection via a crafted mailto URI | high | 7.8 | No | Yes | Yes |
| CVE-2023-27985 | emacs: Shell command injection via a crafted mailto URI | high | 7.8 | No | No | Yes |
| CVE-2022-48339 | emacs: command injection vulnerability in htmlfontify.el | high | 7.8 | No | No | Yes |
| CVE-2022-48338 | emacs: local command injection in ruby-mode.el | high | 7.3 | No | No | Yes |
| CVE-2022-48337 | emacs: command execution via shell metacharacters | critical | 9.8 | No | No | Yes |
| CVE-2022-45939 | emacs: ctags local command execution vulnerability | high | 7.8 | No | No | Yes |
| CVE-2017-1000383 | emacs: Ignores umask when creating a swap file | medium | 5.5 | No | No | Yes |
| CVE-2017-14482 | emacs: command injection flaw within "enriched mode" handling | high | 8.8 | No | No | Yes |
| CVE-2014-9483 | emacs: left-click modifies the PRIMARY selection | high | 7.5 | No | No | Yes |
| CVE-2014-3424 | emacs: multiple temporary file issues | low | 3.3 | No | No | Yes |
| CVE-2014-3423 | emacs: multiple temporary file issues | low | 3.3 | No | No | Yes |
| CVE-2014-3422 | emacs: multiple temporary file issues | low | 3.3 | No | No | Yes |
| CVE-2014-3421 | emacs: multiple temporary file issues | low | 3.3 | No | No | Yes |

## Frequently asked questions

### How many CVEs does GNU Emacs have?

GNU Emacs has 45 published CVE records since 2000.

### How many GNU Emacs CVEs are in CISA KEV?

None of GNU Emacs's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for GNU Emacs vulnerabilities?

Yes — 7 of GNU Emacs's CVEs have a known public exploit.

### Which versions of GNU Emacs are affected?

118 distinct GNU Emacs versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in GNU Emacs CVEs?

GNU Emacs's CVEs most often map to these CWE weakness types: CWE-59 (Improper Link Resolution Before File Access), CWE-78 (Improper Neutralization of Special Elements used in an OS Command), CWE-94 (Improper Control of Generation of Code), CWE-190 (Integer Overflow or Wraparound).

### How many critical GNU Emacs vulnerabilities are there?

GNU Emacs has 4 critical and 18 high-severity CVEs.

### What is the average severity of GNU Emacs CVEs?

The average CVSS base score across GNU Emacs's scored CVEs is 6.3.

## Other products from this vendor

- [Binutils](https://radicalnotion.ai/vendor/gnu/binutils) (288 CVEs)
- [glibc](https://radicalnotion.ai/vendor/gnu/glibc) (166 CVEs)
- [LibreDWG](https://radicalnotion.ai/vendor/gnu/libredwg) (102 CVEs)
- [gnutls](https://radicalnotion.ai/vendor/gnu/gnutls) (75 CVEs)
- [GRUB2](https://radicalnotion.ai/vendor/gnu/grub2) (57 CVEs)
- [Mailman](https://radicalnotion.ai/vendor/gnu/mailman) (47 CVEs)
- [wget](https://radicalnotion.ai/vendor/gnu/wget) (26 CVEs)
- [Tar](https://radicalnotion.ai/vendor/gnu/tar) (20 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/gnu/emacs). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
