CVE-2026-71393: Heap Buffer Overflow in GNU Emacs for Android

Published Aug 10, 2026
·
Updated

GNU Emacs for Android is vulnerable to an integer overflow in sfntreadnametable() in src/sfnt.c. The function computes an allocation size using a 32-bit length value from a TrueType font file without overflow checking. On 32-bit targets, a crafted font causes the calculation to wrap, resulting in an undersized heap allocation. A subsequent read() call writes beyond the buffer, causing a heap buffer overflow. 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 can lead to heap memory corruption and potential code execution.

This issue was fixed in commit d51a4722316efe0960994d371e1859099894d1ca

Affected Software

1 affected component
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 commit d51a4722316efe0960994d371e1859099894d1ca

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-71393?

CVE-2026-71393 has a risk rating of 70, indicating a moderate severity level.

2

How do I fix CVE-2026-71393?

To fix CVE-2026-71393, update to the latest version of GNU Emacs for Android that addresses the integer overflow vulnerability.

3

What type of vulnerability is CVE-2026-71393?

CVE-2026-71393 is a heap buffer overflow vulnerability caused by an integer overflow in the sfnt_read_name_table() function.

4

What systems are affected by CVE-2026-71393?

CVE-2026-71393 affects GNU Emacs for Android on 32-bit targets.

5

What can an attacker achieve by exploiting CVE-2026-71393?

By exploiting CVE-2026-71393, an attacker can potentially execute arbitrary code via a crafted TrueType font file.

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