CVE-2026-71394: CWE-1284 Improper Validation of Specified Quantity in Input in GNU Emacs
GNU Emacs for Android contains a vulnerability in the sfnt_read_table_directory() function where improper validation of font table directory entries can lead to use of uninitialized heap memory. A crafted font file with a manipulated table directory can cause Emacs to load uninitialized memory, potentially resulting in information disclosure, crashes, or arbitrary memory access on 32-bit systems. This issue is fixed in a commit identified by hash 7621ee1d01229d50e5c0cddea6bf0b01095a62cf.
AI Analysis
Technical Summary
The vulnerability in GNU Emacs for Android arises from improper validation of the number of table directory entries in the sfnt_read_table_directory() function within src/sfnt.c. An attacker can craft a malicious font file that falsely claims to contain more table directory entries than actually present. Due to an incorrect comparison variable in the read-length check, the parser returns a struct containing uninitialized heap memory for these entries. When Emacs subsequently accesses these entries, it uses uninitialized memory, which can lead to information disclosure, application crashes, or arbitrary memory access on 32-bit targets. The vulnerability is addressed by a specific code commit (7621ee1d01229d50e5c0cddea6bf0b01095a62cf).
Potential Impact
Exploitation of this vulnerability can lead to information disclosure, application crashes, or arbitrary memory access on 32-bit systems running GNU Emacs for Android. The attack vector involves delivering a malicious font file via email, Emacs Web Wowser (EWW), or documents with custom faces that cause Emacs to load the crafted font. There is no indication of active exploitation in the wild.
Mitigation Recommendations
A fix for this vulnerability is available and has been applied in the commit 7621ee1d01229d50e5c0cddea6bf0b01095a62cf. Users should update GNU Emacs for Android to a version that includes this fix. Since no official patch version or advisory is provided, users should monitor the GNU project for updated releases containing this commit. Patch status is not yet confirmed in official releases — check the vendor advisory for current remediation guidance.
CVE-2026-71394: CWE-1284 Improper Validation of Specified Quantity in Input in GNU Emacs
Description
GNU Emacs for Android contains a vulnerability in the sfnt_read_table_directory() function where improper validation of font table directory entries can lead to use of uninitialized heap memory. A crafted font file with a manipulated table directory can cause Emacs to load uninitialized memory, potentially resulting in information disclosure, crashes, or arbitrary memory access on 32-bit systems. This issue is fixed in a commit identified by hash 7621ee1d01229d50e5c0cddea6bf0b01095a62cf.
CVSS v4.0
Score 5.3medium
Affected software
GNU
Emacs
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in GNU Emacs for Android arises from improper validation of the number of table directory entries in the sfnt_read_table_directory() function within src/sfnt.c. An attacker can craft a malicious font file that falsely claims to contain more table directory entries than actually present. Due to an incorrect comparison variable in the read-length check, the parser returns a struct containing uninitialized heap memory for these entries. When Emacs subsequently accesses these entries, it uses uninitialized memory, which can lead to information disclosure, application crashes, or arbitrary memory access on 32-bit targets. The vulnerability is addressed by a specific code commit (7621ee1d01229d50e5c0cddea6bf0b01095a62cf).
Potential Impact
Exploitation of this vulnerability can lead to information disclosure, application crashes, or arbitrary memory access on 32-bit systems running GNU Emacs for Android. The attack vector involves delivering a malicious font file via email, Emacs Web Wowser (EWW), or documents with custom faces that cause Emacs to load the crafted font. There is no indication of active exploitation in the wild.
Mitigation Recommendations
A fix for this vulnerability is available and has been applied in the commit 7621ee1d01229d50e5c0cddea6bf0b01095a62cf. Users should update GNU Emacs for Android to a version that includes this fix. Since no official patch version or advisory is provided, users should monitor the GNU project for updated releases containing this commit. Patch status is not yet confirmed in official releases — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CERT-PL
- Date Reserved
- 2026-08-06T09:25:32.311Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a79aaecbf8831d53985a8f2
Added to database: 08/10/2026, 10:41:48 UTC
Last enriched: 08/17/2026, 15:38:50 UTC
Last updated: 09/24/2026, 13:47:48 UTC
Views: 52
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.