Skip to main content
EPSS 0.5%top 57%

CVE-2026-71391: CWE-193 Off-by-one Error in GNU Emacs

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

Description

GNU Emacs for Android contains an off-by-one error in its TrueType variable font parser that allows a crafted font file to trigger a heap-based out-of-bounds read. This vulnerability can be exploited by delivering a malicious font via email, the Emacs Web Wowser (EWW), or documents with custom faces, potentially exposing heap memory contents and aiding in bypassing ASLR. The issue was fixed in a specific commit, but no explicit patch or affected versions are provided in the data.

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
None
Subsq. Confidentiality
Low
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N

Affected software

GNU

Emacs

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

CVE-2026-71391 is an off-by-one error (CWE-193) in GNU Emacs for Android's gvar table parser located in src/sfnt.c. The vulnerability arises because the boundary check for shared-coordinate indices in the functions sfnt_vary_simple_glyph() and sfnt_vary_compound_glyph() uses a strict greater-than comparison rather than greater-than-or-equal. This allows a crafted TrueType variable font to bypass the boundary check and cause a heap-based out-of-bounds read via memcpy. An attacker can deliver such a malicious font through email, EWW, or documents with custom faces, causing Emacs to load it and potentially leak heap memory contents that could be used to defeat ASLR. The issue was fixed in commit 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe.

Potential Impact

The vulnerability allows an attacker to cause a heap-based out-of-bounds read, which can expose heap memory contents. This information leak can be leveraged to defeat Address Space Layout Randomization (ASLR), potentially facilitating further exploitation. There is no indication of direct code execution or privilege escalation from this vulnerability alone.

Mitigation Recommendations

A fix for this vulnerability exists and was implemented in commit 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe. Users should update GNU Emacs for Android to a version that includes this commit. Since no explicit affected versions or patch releases are provided, users should consult the official GNU Emacs repositories or vendor advisories for the fixed version. Until updated, avoid opening untrusted font files or documents with custom faces in Emacs.

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: 6a79aaebbf8831d53985a8e0

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

Last enriched: 08/17/2026, 15:38:14 UTC

Last updated: 09/24/2026, 13:47:48 UTC

Views: 54

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