Skip to main content

GNU Emacs Android EUVDEUVD-2026-55257

| CVE-2026-71394 MEDIUM
Improper Validation of Specified Quantity in Input (CWE-1284)
2026-08-10 CERT-PL GHSA-jx5g-mm7r-35gq
5.3
CVSS 4.0 · Vendor: CERT-PL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft font file with inflated table directory count
  2. Delivery
    Deliver via email, EWW page, or document with custom face
  3. Exploit
    User opens content in Emacs Android
  4. Execution
    sfnt_read_table_directory() returns struct with uninitialized heap entries
  5. Persist
    Subsequent table lookups consume poisoned data
  6. Impact
    Information disclosure or crash (32-bit: arbitrary memory access)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
Exploitation Conditions

The attacker must deliver a crafted sfnt/OpenType/TrueType font file through one of the following channels: (1) an email opened and rendered inside GNU Emacs on Android, (2) a webpage loaded via EWW (Emacs Web Wowser) that references the malicious font, or (3) a document or configuration file with a custom font face pointing to the crafted font. The user must actively open or render the content containing the malicious font - passive delivery alone is insufficient. The most severe outcome (arbitrary memory access beyond information disclosure and crashes) is further constrained to 32-bit Android targets; on 64-bit devices the impact is limited to information disclosure and process crashes. No special server-side configuration or privileged account is required from the attacker's perspective.

Impact

The CVSS 4.0 score of 5.3 (Medium) reflects the mandatory user interaction (UI:P) and the constrained direct impact on the vulnerable system (VC:N/VI:N/VA:L), with limited subsequent-system confidentiality and integrity risk (SC:L/SI:L). The network attack vector (AV:N) and no privilege requirement (PR:N) increase accessibility, but the user-interaction requirement is a real friction point - exploitation depends on a user opening attacker-delivered content inside Emacs on Android. No EPSS score was provided; the absence of a KEV listing and any known public exploit code suggests this is not currently under mass exploitation. The most severe outcome - arbitrary memory access - is explicitly bounded to 32-bit targets, which is a meaningful constraint as 64-bit Android devices dominate the market. The 'Google' tag in the intelligence data may indicate Google security team involvement in discovery or coordination, but this is not confirmed from the available sources. Overall, the real-world risk is moderate: the attack surface is niche (Emacs Android users), the highest-severity outcome requires a 32-bit device, and no active exploitation is identified.

Exploit ScenarioDerived

An attacker crafts a malformed OpenType font file in which the table directory header claims a larger entry count than the file actually contains, then embeds this font in an HTML email viewed in Emacs, a webpage served to an EWW user, or a document with a custom face definition. When the Emacs for Android user opens the content, sfnt_read_table_directory() processes the inflated count, returns a struct populated with uninitialized heap memory in the excess entries, and subsequent font table lookups operate on that attacker-influenced data - leaking heap contents on most targets, or enabling memory corruption on 32-bit devices. No public proof-of-concept code is known at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 10, 2026

Uninitialized heap memory exposure in GNU Emacs for Android's sfnt font parser allows a remote, unauthenticated attacker to trigger information disclosure, process crashes, or arbitrary memory access on 32-bit targets by delivering a crafted font file. The flaw in sfnt_read_table_directory() (src/sfnt.c) stems from an incorrect comparison variable in the read-length check, causing the parser to trust an attacker-controlled table-entry count without proper bounds validation. No public exploit or CISA KEV listing exists at time of analysis; exploitation requires user interaction with attacker-delivered content such as an email, EWW-rendered webpage, or a document referencing a malicious font face.

RemediationAI

The primary fix is to update GNU Emacs for Android to a build that includes commit 7621ee1d01229d50e5c0cddea6bf0b01095a62cf; no specific tagged release version containing this commit has been independently confirmed, so users should verify their build date or commit hash against the upstream repository at the GNU Emacs project page (https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html). Until a patched build is available or confirmed, the following compensating controls reduce exposure: avoid opening emails from untrusted senders using Emacs on Android (use a separate mail client instead); disable or restrict use of EWW (Emacs Web Wowser) for browsing untrusted websites, noting this removes in-editor web browsing capability; and avoid opening documents or configuration files that specify custom font faces from untrusted sources. On 32-bit Android devices, where the arbitrary memory access risk is highest, consider restricting Emacs usage to trusted content entirely until a patched version is confirmed.

Affected VersionsENISA

emacs 0 ≤30.2

Affected Packages

euvd emacs no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the sfnt subsystem of GNU Emacs, which implements parsing of OpenType/TrueType (sfnt-container) font files on Android. The affected function sfnt_read_table_directory() in src/sfnt.c reads a table directory header from a font file and validates how many table entries to process. CWE-1284 (Improper Validation of Specified Quantity in Input) is the root cause class: the code uses an incorrect variable in the bounds comparison, so when an attacker crafts a font that claims a table directory entry count exceeding the file's actual content, the function allocates a struct and returns it with the excess entries populated by uninitialized heap memory. Downstream table-lookup code then operates on this attacker-influenced but uninitialized data. The CPE cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:* covers all GNU Emacs versions, but exploitation is specific to the Android port where this font rendering path is exercised.

Know when Emacs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CERT-PL) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.3 MEDIUM

Network delivery with no auth needed, but user must open content; C:L and I:L reflect heap disclosure and limited memory access (I:L capped given 32-bit constraint).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:L/SI:L/SA:N
SUSE 6.6 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Red Hat 5.3 MEDIUM

Primary rating from Vendor (CERT-PL).

CVSS VectorVendor: CERT-PL

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
Niche Android port of a specialized text editor
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Emacs

View all
CVE-2012-0035 CRITICAL
9.3 Jan 19

Untrusted search path vulnerability in EDE in CEDET before 1.0.1, as used in GNU Emacs before 23.4 and other products, a

CVE-2024-39331 CRITICAL
9.8 Jun 23

In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe

CVE-2017-14482 HIGH
8.8 Sep 14

GNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted "Content-Type: text/enric

CVE-2024-53920 HIGH
7.8 Nov 27

In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion)

CVE-2026-108976 HIGH
7.8 Oct 11

OS command injection in GNU Emacs's TRAMP remote-file library (Emacs releases before 31.2, TRAMP through 2.8.2) lets an

CVE-2026-96442 HIGH
7.8 Sep 23

Code execution in GNU Emacs versions prior to 31.2 occurs when Flymake performs on-the-fly syntax checking with a langua

CVE-2024-30202 HIGH
7.8 Mar 25

In Emacs before 29.3, arbitrary Lisp code is evaluated as part of turning on Org mode. Rated high severity (CVSS 7.8), t

CVE-2023-2491 HIGH
7.8 May 17

A flaw was found in the Emacs text editor. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity.

CVE-2023-27986 HIGH
7.8 Mar 09

emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto

CVE-2023-27985 HIGH
7.8 Mar 09

emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto:

CVE-2022-45939 HIGH
7.8 Nov 28

GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file,

CVE-2014-9483 HIGH
7.5 Aug 28

Emacs 24.4 allows remote attackers to bypass security restrictions. Rated high severity (CVSS 7.5), this vulnerability i

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy