CVE-2026-71394Heap 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
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | emacs | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 26.10 | xemacs21 | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 26.10 | xemacs21-packages | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 26.04 | emacs | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 26.04 | xemacs21 | Under investigation | UBUNTU-CVE-2026-71394 | |
| Ubuntu 26.04 | xemacs21-packages | Under investigation | UBUNTU-CVE-2026-71394 | |
| Ubuntu 24.04 | emacs | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 24.04 | xemacs21 | Under investigation | UBUNTU-CVE-2026-71394 | |
| Ubuntu 24.04 | xemacs21-packages | Under investigation | UBUNTU-CVE-2026-71394 | |
| Ubuntu 22.04 | emacs | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 22.04 | xemacs21 | Under investigation | UBUNTU-CVE-2026-71394 | |
| Ubuntu 22.04 | xemacs21-packages | Under investigation | UBUNTU-CVE-2026-71394 | |
| Ubuntu 20.04 | emacs | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 20.04 | xemacs21 | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 20.04 | xemacs21-packages | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 18.04 | emacs25 | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 18.04 | xemacs21 | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 18.04 | xemacs21-packages | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 16.04 | emacs24 | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 16.04 | xemacs21 | Fix pending | UBUNTU-CVE-2026-71394 | |
| Ubuntu 16.04 | xemacs21-packages | Fix pending | UBUNTU-CVE-2026-71394 | |
| Red Hat Enterprise Linux 10 | emacs | Not affected | ||
| Red Hat Enterprise Linux 10 | emacs-common | Not affected | ||
| Red Hat Enterprise Linux 10 | emacs-filesystem | Not affected | ||
| Red Hat Enterprise Linux 10 | emacs-lucid | Not affected | ||
| Red Hat Enterprise Linux 10 | emacs-nw | Not affected | ||
| Red Hat Enterprise Linux 9 | emacs | Not affected | ||
| Red Hat Enterprise Linux 9 | emacs-common | Not affected | ||
| Red Hat Enterprise Linux 9 | emacs-filesystem | Not affected | ||
| Red Hat Enterprise Linux 9 | emacs-lucid | Not affected | ||
| Red Hat Enterprise Linux 9 | emacs-nox | Not affected | ||
| Red Hat Enterprise Linux 8 | emacs | Not affected | ||
| Red Hat Enterprise Linux 8 | emacs-common | Not affected | ||
| Red Hat Enterprise Linux 8 | emacs-filesystem | Not affected | ||
| Red Hat Enterprise Linux 8 | emacs-lucid | Not affected | ||
| Red Hat Enterprise Linux 8 | emacs-nox | Not affected | ||
| Red Hat Enterprise Linux 8 | emacs-terminal | Not affected | ||
| Red Hat Enterprise Linux 7 | emacs | Not affected | ||
| Red Hat Enterprise Linux 7 | emacs-common | Not affected | ||
| Red Hat Enterprise Linux 7 | emacs-el | Not affected | ||
| Red Hat Enterprise Linux 7 | emacs-filesystem | Not affected | ||
| Red Hat Enterprise Linux 7 | emacs-nox | Not affected | ||
| Red Hat Enterprise Linux 7 | emacs-terminal | Not affected | ||
| Red Hat Enterprise Linux 6 | emacs | Not affected | ||
| Red Hat Enterprise Linux 6 | emacs-common | Not affected | ||
| Red Hat Enterprise Linux 6 | emacs-el | Not affected | ||
| Red Hat Enterprise Linux 6 | emacs-nox | Not affected |
What the vendor says
As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GNU Emacs: affected: up to 30.2
References
- https://cert.pl/en/posts/2026/08/CVE-2026-71391
- https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.