Skip to main content
EPSS 0.4%top 64%

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

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

Affected software

GNU

Emacs

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 15:38:50 UTC

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.

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

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