Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71394: CWE-1284 Improper Validation of Specified Quantity in Input in GNU Emacs

0
Medium
Published: 08/10/2026 (08/10/2026, 10:23:11 UTC)
Source: CVE Database V5
Vendor/Project: GNU
Product: Emacs

Description

GNU Emacs for Android improperly validates the table header input in sfnt_read_table_directory() in src/sfnt.c. Due to an incorrect comparison variable in the read-length check, a crafted font file that claims to contain more table directory entries than actually present causes the parser to return a struct with uninitialized heap memory in the table directory entries. 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 leads to the use of uninitialized heap data in subsequent table lookups, potentially resulting in information disclosure, crashes, or arbitrary memory access on 32-bit targets. This issue is fixed after commit 7621ee1d01229d50e5c0cddea6bf0b01095a62cf

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:L/SI:L/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 11:02:43 UTC

Technical Analysis

The vulnerability in GNU Emacs for Android arises from improper validation of the specified quantity in the font table directory input within the sfnt_read_table_directory() function in src/sfnt.c. An incorrect comparison variable in the read-length check allows a maliciously crafted font file to claim more table directory entries than actually present. This causes the parser to return a structure containing uninitialized heap memory in the table directory entries. When Emacs loads such a font file—delivered via email, EWW browser, or documents with custom faces—subsequent table lookups may use this uninitialized memory, potentially resulting in information disclosure, application crashes, or arbitrary memory access on 32-bit targets. The issue has been addressed and fixed in a specific 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 vulnerability arises from use of uninitialized heap memory due to improper input validation of font table directory entries. 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 and administrators should update GNU Emacs for Android to a version that includes this fix. Since no official patch version or advisory is provided, check the GNU Emacs project repositories or official channels for the updated version containing this commit.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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
Remediation Level
null

Threat ID: 6a79aaecbf8831d53985a8f2

Added to database: 08/10/2026, 10:41:48 UTC

Last enriched: 08/10/2026, 11:02:43 UTC

Last updated: 08/10/2026, 17:57:00 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses