CVE-2026-71391
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
Scoring
- Severity
- MEDIUM
- CVSS base score
- 5.3
- CVSS vector
- 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
- EPSS probability
- 0.33%
- CWE
- CWE-193
- Published
- 2026-08-10
- Last modified
- 2026-08-10
Affected products
- GNU Emacs
Weakness type
Related vulnerabilities
- CVE-2026-81396 — Microsoft Excel Remote Code Execution Vulnerability
- CVE-2026-69609 — Win32k Information Disclosure Vulnerability
- CVE-2026-86297 — D-Link DIR-605 L2TP Control Message tunnel.c tunnel_set_params off-by-one
- CVE-2026-81738 — OpenVPN 2.5.0 through 2.7.6 on Windows using the tap-windows6 driver allows attackers to trigger an...
- CVE-2026-57160 — PJSIP: SIP message header buffer overflow
- CVE-2026-85454 — MOOS core-moos through 10.4.0 Off-by-One Buffer Overflow in Serial Telegram Handling
- CVE-2026-14368 — Off-by-one out-of-bounds NUL write in Zephyr LwM2M JSON string parser
- CVE-2026-46369 — Nimiq: Validity store off by one error