CVE-2026-71391Off-by-One Error in GNU Emacs for Android
Updated under an hour ago ()
Does this affect you?
It affects GNU Emacs. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- CVSS
- 5.3 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
- Weakness (CWE)
- CWE-193
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- CERT-PL
- NVD analysis
- Deferred
- Record last updated
- Aug 10, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
GNU Emacs gnu:emacs (from the name) | through 30.2; fixed at commit 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe | CNA record |
References
- https://cert.pl/en/posts/2026/08/CVE-2026-71391third-party-advisory
- https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.htmlproduct
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.