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-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 the gvar table parser in src/sfnt.c. The shared-coordinate index boundary check in sfnt_vary_simple_glyph() and sfnt_vary_compound_glyph() uses a strict greater-than comparison instead of greater-than-or-equal, allowing a crafted TrueType variable font to bypass the check and trigger a heap-based out-of-bounds read via memcpy. 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 exposes heap memory contents which can be later used to defeat ASLR. This issue was fixed in commit 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 11:03:24 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 shared-coordinate index boundary check in sfnt_vary_simple_glyph() and sfnt_vary_compound_glyph() uses a strict greater-than comparison rather than greater-than-or-equal, allowing a crafted TrueType variable font to bypass this check. This leads to a heap-based out-of-bounds read via memcpy. An attacker can deliver a malicious font through email, EWW, or documents with custom faces, causing Emacs to load the font and expose heap memory contents. This exposure can be leveraged to defeat ASLR. The issue was fixed in commit 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe, but no vendor advisory or patch release information is provided.

Potential Impact

The vulnerability allows an attacker to cause a heap-based out-of-bounds read, exposing heap memory contents. This exposure can be used to bypass Address Space Layout Randomization (ASLR), weakening memory protection mechanisms. There is no indication of direct code execution or privilege escalation. The CVSS score is 5.3 (medium severity), reflecting a network attack vector with low complexity and no privileges required, but requiring user interaction.

Mitigation Recommendations

A fix for this vulnerability was implemented in commit 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe. However, no official patch release or vendor advisory is provided in the available data. Users should monitor the GNU Emacs project for official updates or patches addressing this issue and apply them once available. Until then, caution is advised when opening untrusted font files or documents that may load custom fonts 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
Remediation Level
null

Threat ID: 6a79aaebbf8831d53985a8e0

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

Last enriched: 08/10/2026, 11:03:24 UTC

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

Views: 8

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