CVE-2026-71391
Last modified
CVE-2026-71391 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.
Description
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
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| GNU | Emacs | <= 30.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-71391?
How severe is CVE-2026-71391?
How do I fix CVE-2026-71391?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-71384is affected by an Incorrect Authorization vulnerability that…9.6
- CVE-2026-71386is affected by a Cross-site Scripting (XSS) vulnerability th…8.8
- CVE-2026-71387ColdFusion is affected by an Incorrect Authorization vulnera…8.8
- CVE-2026-71389CAI Content Credentials is affected by an Integer Underflow …6.2
- CVE-2026-7139A flaw has been found in Totolink A8000RU 7.1cu.643_b2020052…9.8
- CVE-2026-71390CAI Content Credentials is affected by an Improper Input Val…4
- CVE-2026-71392GNU Emacs for Android is vulnerable to an integer overflow i…5.3
- CVE-2026-71393GNU Emacs for Android is vulnerable to an integer overflow i…5.3
- CVE-2026-71394GNU Emacs for Android improperly validates the table header …5.3
- CVE-2026-71398Adobe Campaign Classic (ACC) is affected by an Incorrect Aut…10
- CVE-2026-7140A vulnerability has been found in Totolink A8000RU 7.1cu.643…9.8
- CVE-2026-71407A Stack-based Buffer Overflow vulnerability [CWE-121] vulner…5.6
Are you affected by CVE-2026-71391?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
