Nixpkgs security tracker

Login with GitHub

Suggestions search

With package: emacs

Found 4 matching suggestions

View:
Compact
Detailed
Permalink CVE-2026-71392
5.3 MEDIUM
  • CVSS version (CVSS): 4.0
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Attack Requirement (AT): None (N)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Passive (P)
  • Vulnerable System Impact Confidentiality (VC): None (N)
  • Vulnerable System Impact Integrity (VI): None (N)
  • Vulnerable System Impact Availability (VA): Low (L)
  • Subsequent System Impact Confidentiality (SC): None (N)
  • Subsequent System Impact Integrity (SI): Low (L)
  • Subsequent System Impact Availability (SA): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Attack Requirement (MAT): None (N)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Passive (P)
  • Modified Vulnerable System Impact Confidentiality (MVC): None (N)
  • Modified Vulnerable System Impact Integrity (MVI): None (N)
  • Modified Vulnerable System Impact Availability (MVA): Low (L)
  • Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
  • Modified Subsequent System Impact Integrity (MSI): Low (L)
  • Modified Subsequent System Impact Availability (MSA): Negligible (N)
  • Safety (S): Not Defined (X)
  • Automatable (AU): Not Defined (X)
  • Recovery (R): Not Defined (X)
  • Value Density (V): Not Defined (X)
  • Vulnerability Response Effort (RE): Not Defined (X)
  • Provider Urgency (U): Not Defined (X)
  • Confidentiality Req. (CR): Not Defined (X)
  • Integrity Req. (IR): Not Defined (X)
  • Availability Req. (AR): Not Defined (X)
  • Exploit Maturity (E): Not Defined (X)
updated 1 month ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse dismissed
Integer Overflow in GNU Emacs for Android

GNU Emacs for Android is vulnerable to an integer overflow in the sfnt_read_cmap_format_12() function in src/sfnt.c. When processing a crafted TrueType font file, an unguarded addition in the xmalloc allocation call wraps around on 32-bit builds, causing a heap buffer overflow write. An attacker can deliver a malicious font file via email, EWW (Emacs Web Wowser), or documents with custom faces, causing Emacs to load it. This results in heap memory corruption that can lead to code execution. This issue was fixed in commit c4e20777c26548722a37b03db93243e83a0d6188

Affected products

Emacs
  • =<30.2

Matching in nixpkgs

pkgs.emacs

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.qemacs

Very small but powerful UNIX editor

pkgs.emacs30

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs-gtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs-nox

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacspeak

Emacs extension that provides spoken output

  • nixos-unstable 59.0
    • nixpkgs-unstable 59.0
    • nixos-unstable-small 59.0
  • nixos-26.05 59.0
    • nixos-26.05-small 59.0
    • nixpkgs-26.05-darwin 59.0

pkgs.emacs-pgtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-nox

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-gtk3

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-pgtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2
Not for us, Android
Permalink CVE-2026-71391
5.3 MEDIUM
  • CVSS version (CVSS): 4.0
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Attack Requirement (AT): None (N)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Passive (P)
  • Vulnerable System Impact Confidentiality (VC): None (N)
  • Vulnerable System Impact Integrity (VI): None (N)
  • Vulnerable System Impact Availability (VA): None (N)
  • Subsequent System Impact Confidentiality (SC): Low (L)
  • Subsequent System Impact Integrity (SI): None (N)
  • Subsequent System Impact Availability (SA): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Attack Requirement (MAT): None (N)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Passive (P)
  • Modified Vulnerable System Impact Confidentiality (MVC): None (N)
  • Modified Vulnerable System Impact Integrity (MVI): None (N)
  • Modified Vulnerable System Impact Availability (MVA): None (N)
  • Modified Subsequent System Impact Confidentiality (MSC): Low (L)
  • Modified Subsequent System Impact Integrity (MSI): Negligible (N)
  • Modified Subsequent System Impact Availability (MSA): Negligible (N)
  • Safety (S): Not Defined (X)
  • Automatable (AU): Not Defined (X)
  • Recovery (R): Not Defined (X)
  • Value Density (V): Not Defined (X)
  • Vulnerability Response Effort (RE): Not Defined (X)
  • Provider Urgency (U): Not Defined (X)
  • Confidentiality Req. (CR): Not Defined (X)
  • Integrity Req. (IR): Not Defined (X)
  • Availability Req. (AR): Not Defined (X)
  • Exploit Maturity (E): Not Defined (X)
updated 1 month ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse dismissed
Off-by-One Error in GNU Emacs for Android

GNU Emacs for Android contains an off-by-one error in the gvar table parser in src/sfnt.c. The shared-coordinate index boundary check in sfnt_vary_simple_glyph() and sfnt_vary_compound_glyph() uses a strict greater-than comparison instead of greater-than-or-equal, allowing a crafted TrueType variable font to bypass the check and trigger a heap-based out-of-bounds read via memcpy. An attacker can deliver a malicious font file via email, EWW (Emacs Web Wowser), or documents with custom faces, causing Emacs to load it. This exposes heap memory contents which can be later used to defeat ASLR. This issue was fixed in commit 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe

Affected products

Emacs
  • =<30.2

Matching in nixpkgs

pkgs.emacs

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.qemacs

Very small but powerful UNIX editor

pkgs.emacs30

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs-gtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs-nox

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacspeak

Emacs extension that provides spoken output

  • nixos-unstable 59.0
    • nixpkgs-unstable 59.0
    • nixos-unstable-small 59.0
  • nixos-26.05 59.0
    • nixos-26.05-small 59.0
    • nixpkgs-26.05-darwin 59.0

pkgs.emacs-pgtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-nox

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-gtk3

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-pgtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2
Not for us, Android
Permalink CVE-2026-71394
5.3 MEDIUM
  • CVSS version (CVSS): 4.0
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Attack Requirement (AT): None (N)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Passive (P)
  • Vulnerable System Impact Confidentiality (VC): None (N)
  • Vulnerable System Impact Integrity (VI): None (N)
  • Vulnerable System Impact Availability (VA): Low (L)
  • Subsequent System Impact Confidentiality (SC): Low (L)
  • Subsequent System Impact Integrity (SI): Low (L)
  • Subsequent System Impact Availability (SA): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Attack Requirement (MAT): None (N)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Passive (P)
  • Modified Vulnerable System Impact Confidentiality (MVC): None (N)
  • Modified Vulnerable System Impact Integrity (MVI): None (N)
  • Modified Vulnerable System Impact Availability (MVA): Low (L)
  • Modified Subsequent System Impact Confidentiality (MSC): Low (L)
  • Modified Subsequent System Impact Integrity (MSI): Low (L)
  • Modified Subsequent System Impact Availability (MSA): Negligible (N)
  • Safety (S): Not Defined (X)
  • Automatable (AU): Not Defined (X)
  • Recovery (R): Not Defined (X)
  • Value Density (V): Not Defined (X)
  • Vulnerability Response Effort (RE): Not Defined (X)
  • Provider Urgency (U): Not Defined (X)
  • Confidentiality Req. (CR): Not Defined (X)
  • Integrity Req. (IR): Not Defined (X)
  • Availability Req. (AR): Not Defined (X)
  • Exploit Maturity (E): Not Defined (X)
updated 1 month ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse dismissed
Heap Use of Uninitialized Memory in GNU Emacs for Android

GNU Emacs for Android improperly validates the table header input in sfnt_read_table_directory() in src/sfnt.c. Due to an incorrect comparison variable in the read-length check, a crafted font file that claims to contain more table directory entries than actually present causes the parser to return a struct with uninitialized heap memory in the table directory entries. An attacker can deliver a malicious font file via email, EWW (Emacs Web Wowser), or documents with custom faces, causing Emacs to load it. This leads to the use of uninitialized heap data in subsequent table lookups, potentially resulting in information disclosure, crashes, or arbitrary memory access on 32-bit targets. This issue is fixed after commit 7621ee1d01229d50e5c0cddea6bf0b01095a62cf

Affected products

Emacs
  • =<30.2

Matching in nixpkgs

pkgs.emacs

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.qemacs

Very small but powerful UNIX editor

pkgs.emacs30

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs-gtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs-nox

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacspeak

Emacs extension that provides spoken output

  • nixos-unstable 59.0
    • nixpkgs-unstable 59.0
    • nixos-unstable-small 59.0
  • nixos-26.05 59.0
    • nixos-26.05-small 59.0
    • nixpkgs-26.05-darwin 59.0

pkgs.emacs-pgtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-nox

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-gtk3

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-pgtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2
Not for us, Android.
Permalink CVE-2026-71393
5.3 MEDIUM
  • CVSS version (CVSS): 4.0
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Attack Requirement (AT): None (N)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Passive (P)
  • Vulnerable System Impact Confidentiality (VC): None (N)
  • Vulnerable System Impact Integrity (VI): None (N)
  • Vulnerable System Impact Availability (VA): Low (L)
  • Subsequent System Impact Confidentiality (SC): None (N)
  • Subsequent System Impact Integrity (SI): Low (L)
  • Subsequent System Impact Availability (SA): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Attack Requirement (MAT): None (N)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Passive (P)
  • Modified Vulnerable System Impact Confidentiality (MVC): None (N)
  • Modified Vulnerable System Impact Integrity (MVI): None (N)
  • Modified Vulnerable System Impact Availability (MVA): Low (L)
  • Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
  • Modified Subsequent System Impact Integrity (MSI): Low (L)
  • Modified Subsequent System Impact Availability (MSA): Negligible (N)
  • Safety (S): Not Defined (X)
  • Automatable (AU): Not Defined (X)
  • Recovery (R): Not Defined (X)
  • Value Density (V): Not Defined (X)
  • Vulnerability Response Effort (RE): Not Defined (X)
  • Provider Urgency (U): Not Defined (X)
  • Confidentiality Req. (CR): Not Defined (X)
  • Integrity Req. (IR): Not Defined (X)
  • Availability Req. (AR): Not Defined (X)
  • Exploit Maturity (E): Not Defined (X)
updated 1 month ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse dismissed
Heap Buffer Overflow in GNU Emacs for Android

GNU Emacs for Android is vulnerable to an integer overflow in sfnt_read_name_table() in src/sfnt.c. The function computes an allocation size using a 32-bit length value from a TrueType font file without overflow checking. On 32-bit targets, a crafted font causes the calculation to wrap, resulting in an undersized heap allocation. A subsequent read() call writes beyond the buffer, causing a heap buffer overflow. An attacker can deliver a malicious font file via email, EWW (Emacs Web Wowser), or documents with custom faces, causing Emacs to load it. This can lead to heap memory corruption and potential code execution. This issue was fixed in commit d51a4722316efe0960994d371e1859099894d1ca

Affected products

Emacs
  • =<30.2

Matching in nixpkgs

pkgs.emacs

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.qemacs

Very small but powerful UNIX editor

pkgs.emacs30

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs-gtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs-nox

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacspeak

Emacs extension that provides spoken output

  • nixos-unstable 59.0
    • nixpkgs-unstable 59.0
    • nixos-unstable-small 59.0
  • nixos-26.05 59.0
    • nixos-26.05-small 59.0
    • nixpkgs-26.05-darwin 59.0

pkgs.emacs-pgtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-nox

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-gtk3

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2

pkgs.emacs30-pgtk

Extensible, customizable GNU text editor

  • nixos-unstable 30.2
    • nixpkgs-unstable 30.2
    • nixos-unstable-small 30.2
  • nixos-26.05 30.2
    • nixos-26.05-small 30.2
    • nixpkgs-26.05-darwin 30.2
Android, not for us