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

Published Aug 10, 2026
·
Updated

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 sfntvarysimpleglyph() and sfntvarycompoundglyph() 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

Affected Software

1 affected component
GNU GNU Emacs for Android

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GNU Emacs for Android to a version that resolves this vulnerability.

    Patch 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe

Event History

Aug 10, 2026
CVE Published
via MITRE·10:22 AM
Data Sourced
via MITRE·10:22 AM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71391?

The severity of CVE-2026-71391 is rated as 43, indicating a moderate risk level.

2

How do I fix CVE-2026-71391?

To fix CVE-2026-71391, update your GNU Emacs for Android to the latest version where the off-by-one error is resolved.

3

What vulnerabilities are associated with CVE-2026-71391?

CVE-2026-71391 is associated with an off-by-one error affecting the gvar table parser in GNU Emacs for Android.

4

What systems are affected by CVE-2026-71391?

CVE-2026-71391 specifically affects GNU Emacs for Android.

5

How does CVE-2026-71391 impact users?

CVE-2026-71391 can allow crafted TrueType variable fonts to exploit the off-by-one error leading to potential data corruption.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203