Vulnerability · Published Aug 10, 2026 · Assigned by CERT-PL

CVE-2026-71394Heap Use of Uninitialized Memory in GNU Emacs for Android

Medium 5.3

In plain English

A medium-severity security flaw in Emacs from GNU. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities).

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.4%top 61.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12emacsno fix listedDEBIAN-CVE-2026-71394
Debian:13emacsno fix listedDEBIAN-CVE-2026-71394
Debian:14emacsno fix listedDEBIAN-CVE-2026-71394
Ubuntu:26.10emacsno fix listedUBUNTU-CVE-2026-71394
Ubuntu:22.04:LTSxemacs21no fix listedUBUNTU-CVE-2026-71394
Ubuntu:24.04:LTSxemacs21no fix listedUBUNTU-CVE-2026-71394
Ubuntu:26.04:LTSxemacs21no fix listedUBUNTU-CVE-2026-71394
Ubuntu:26.10xemacs21no fix listedUBUNTU-CVE-2026-71394
Ubuntu:22.04:LTSxemacs21-packagesno fix listedUBUNTU-CVE-2026-71394
Ubuntu:24.04:LTSxemacs21-packagesno fix listedUBUNTU-CVE-2026-71394
Ubuntu:26.04:LTSxemacs21-packagesno fix listedUBUNTU-CVE-2026-71394
Ubuntu:26.10xemacs21-packagesno fix listedUBUNTU-CVE-2026-71394

Affected products (as reported)

VendorProductVersions
GNU Emacs 0 – through 30.2

Weakness: CWE-1284 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:L/SI:L/SA:N

References