CVEfocus › CVE database › CVE-2026-71391

CVE-2026-71391Off-by-One Error in GNU Emacs for Android

CVSS 5.3 MediumEPSS 0.5% (higher than 39% of CVEs)Published 2026-08-10Updated 2026-08-10Assigner: CERT-PL

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

CWE-193

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

15Fix pending
6Under investigation
26Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10emacsFix pendingUBUNTU-CVE-2026-71391
Ubuntu 26.10xemacs21Fix pendingUBUNTU-CVE-2026-71391
Ubuntu 26.10xemacs21-packagesFix pendingUBUNTU-CVE-2026-71391
Ubuntu 26.04emacsFix pendingUBUNTU-CVE-2026-71391
Ubuntu 26.04xemacs21Under investigationUBUNTU-CVE-2026-71391
Ubuntu 26.04xemacs21-packagesUnder investigationUBUNTU-CVE-2026-71391
Ubuntu 24.04emacsFix pendingUBUNTU-CVE-2026-71391
Ubuntu 24.04xemacs21Under investigationUBUNTU-CVE-2026-71391
Ubuntu 24.04xemacs21-packagesUnder investigationUBUNTU-CVE-2026-71391
Ubuntu 22.04emacsFix pendingUBUNTU-CVE-2026-71391
Ubuntu 22.04xemacs21Under investigationUBUNTU-CVE-2026-71391
Ubuntu 22.04xemacs21-packagesUnder investigationUBUNTU-CVE-2026-71391
Ubuntu 20.04emacsFix pendingUBUNTU-CVE-2026-71391
Ubuntu 20.04xemacs21Fix pendingUBUNTU-CVE-2026-71391
Ubuntu 20.04xemacs21-packagesFix pendingUBUNTU-CVE-2026-71391
Ubuntu 18.04emacs25Fix pendingUBUNTU-CVE-2026-71391
Ubuntu 18.04xemacs21Fix pendingUBUNTU-CVE-2026-71391
Ubuntu 18.04xemacs21-packagesFix pendingUBUNTU-CVE-2026-71391
Ubuntu 16.04emacs24Fix pendingUBUNTU-CVE-2026-71391
Ubuntu 16.04xemacs21Fix pendingUBUNTU-CVE-2026-71391
Ubuntu 16.04xemacs21-packagesFix pendingUBUNTU-CVE-2026-71391
Red Hat Enterprise Linux 10emacsNot affected
Red Hat Enterprise Linux 10emacs-commonNot affected
Red Hat Enterprise Linux 10emacs-filesystemNot affected
Red Hat Enterprise Linux 10emacs-lucidNot affected
Red Hat Enterprise Linux 10emacs-nwNot affected
Red Hat Enterprise Linux 9emacsNot affected
Red Hat Enterprise Linux 9emacs-commonNot affected
Red Hat Enterprise Linux 9emacs-filesystemNot affected
Red Hat Enterprise Linux 9emacs-lucidNot affected
Red Hat Enterprise Linux 9emacs-noxNot affected
Red Hat Enterprise Linux 8emacsNot affected
Red Hat Enterprise Linux 8emacs-commonNot affected
Red Hat Enterprise Linux 8emacs-filesystemNot affected
Red Hat Enterprise Linux 8emacs-lucidNot affected
Red Hat Enterprise Linux 8emacs-noxNot affected
Red Hat Enterprise Linux 8emacs-terminalNot affected
Red Hat Enterprise Linux 7emacsNot affected
Red Hat Enterprise Linux 7emacs-commonNot affected
Red Hat Enterprise Linux 7emacs-elNot affected
Red Hat Enterprise Linux 7emacs-filesystemNot affected
Red Hat Enterprise Linux 7emacs-noxNot affected
Red Hat Enterprise Linux 7emacs-terminalNot affected
Red Hat Enterprise Linux 6emacsNot affected
Red Hat Enterprise Linux 6emacs-commonNot affected
Red Hat Enterprise Linux 6emacs-elNot affected
Red Hat Enterprise Linux 6emacs-noxNot 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.

References

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.