p PatchFirst

PatchFirst · Latest vulnerabilities

emacs vulnerabilities

Vulnerabilities published for emacs in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 19

  1. CVE-2026-96442

    High · CVSS 7.8EPSS 0.22%No fix published

    Emacs: emacs: arbitrary code execution in flymake mode

    A code execution flaw was found in Emacs, affecting versions prior to 31.2. The Flymake mode using language backends other than Lisp would execute arbitrary code from the edited file while performing syntax checking. Viewing or editing untrusted files using Emacs could lead to arbitrary code execution with the privileges of the user running Emacs.

    Published Updated
  2. CVE-2026-96269

    High · CVSS 7.5EPSS 0.14%Fix available

    CVE-2026-96269

    GNU Emacs 28.1 through 31.1 allows arbitrary code execution upon opening a file, because an untrusted value of read-symbol-shorthands affects the intern and unintern functions. This affects the default configuration; no particular user settings are required to trigger it.

    • Update to 1:30.2+1-11
    Published Updated
  3. CVE-2026-79992

    High · CVSS 7.8EPSS 0.23%No fix published

    Emacs: emacs: command injection via crafted filenames in tramp

    A flaw was found in Emacs TRAMP. A local attacker could exploit this vulnerability by processing maliciously crafted filenames. This occurs because TRAMP concatenates login arguments without proper sanitization, which are then passed to a local shell. Successful exploitation could lead to arbitrary code execution.

    Published Updated
  4. CVE-2026-77219

    Medium · CVSS 6.9EPSS 0.13%No fix published

    GNU Emacs < 31.0.91 Heap Over-Read via PBM/PPM/PGM Image Loader

    GNU Emacs before 31.0.91 contains an integer overflow in the PBM/PPM/PGM image loader that allows an attacker to leak heap memory contents by supplying a crafted image with large dimensions and an elevated max color index. The image loader multiplies image dimensions and channel count using signed integer arithmetic; for sufficiently large values, the result wraps to a negative number, bypassing the bounds check and causing the pixel reader to access heap memory past the end of the allocated buffer. The over-read contents are interpreted as pixel color values and rendered on screen.

    Published Updated
  5. CVE-2026-6861

    Medium · CVSS 6.1EPSS 0.16%Fix available

    Emacs: emacs: memory corruption vulnerability when processing svg css

    A flaw was found in GNU Emacs. This vulnerability, a memory corruption issue, occurs when Emacs processes specially crafted SVG (Scalable Vector Graphics) CSS (Cascading Style Sheets) data. A local user could exploit this by convincing a victim to open a malicious SVG file, which may lead to a denial of service (DoS) or potentially information disclosure.

    • Update to 1:30.2+1-3
    Published Updated
  6. CVE-2025-1244

    High · CVSS 8.8EPSS 3.28%Fix available

    Emacs: shell injection vulnerability in gnu emacs via custom "man" uri scheme

    A command injection flaw was found in the text editor Emacs. It could allow a remote, unauthenticated attacker to execute arbitrary shell commands on a vulnerable system. Exploitation is possible by tricking users into visiting a specially crafted website or an HTTP URL with a redirect.

    • Update to 1:30.1+1-1
    Published Updated
  7. CVE-2024-53920

    High · CVSS 7.8EPSS 0.79%Fix available

    CVE-2024-53920

    In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion) on untrusted Emacs Lisp source code can trigger unsafe Lisp macro expansion that allows attackers to execute arbitrary code. (This unsafe expansion also occurs if a user chooses to enable on-the-fly diagnosis that byte compiles untrusted Emacs Lisp source code.)

    • Update to 1:30.1+1-1
    Published Updated
  8. CVE-2022-48339

    High · CVSS 7.8EPSS 1.16%Fix available

    CVE-2022-48339

    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.

    • Update to 1:28.2+1-11
    Published Updated
  9. CVE-2022-48338

    High · CVSS 7.3EPSS 1.79%Fix available

    CVE-2022-48338

    An issue was discovered in GNU Emacs through 28.2. In ruby-mode.el, the ruby-find-library-file function has a local command injection vulnerability. The ruby-find-library-file function is an interactive function, and bound to C-c C-f. Inside the function, the external command gem is called through shell-command-to-string, but the feature-name parameters are not escaped. Thus, malicious Ruby source files may cause commands to be executed.

    • Update to 1:28.2+1-11
    Published Updated
  10. CVE-2022-48337

    Critical · CVSS 9.8EPSS 1.88%Fix available

    CVE-2022-48337

    GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the etags program. For example, a victim may use the "etags -u *" command (suggested in the etags documentation) in a situation where the current working directory has contents that depend on untrusted input.

    • Update to 1:28.2+1-11
    Published Updated
  11. CVE-2022-45939

    High · CVSS 7.8EPSS 0.67%Fix available

    CVE-2022-45939

    GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the ctags program. For example, a victim may use the "ctags *" command (suggested in the ctags documentation) in a situation where the current working directory has contents that depend on untrusted input.

    • Update to 1:28.2+1-8
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →