Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-71394— Heap Use of Uninitialized Memory in GNU Emacs for Android

Quick assessment

Affected
GNU Emacs
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GNU emacs是美国GNU基金会开源的一款可扩展的文本编辑环境。 GNU Emacs 30.2及之前版本存在输入验证错误漏洞,该漏洞源于sfnt_read_table_directory()函数未正确验证表头输入,由于读取长度检查中比较变量不正确,特制字体文件可导致解析器返回包含未初始化堆内存的结构,从而造成信息泄露、崩溃或32位目标上的任意内存访问。

CVSS 5.3 · Medium EPSS 0.45% · P36

Affected Version Matrix 1

VendorProduct Version RangeStatus
GNU Emacs ≤ 30.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-71394

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Heap Use of Uninitialized Memory in GNU Emacs for Android
Source: CVE Program / CVE List V5
Vulnerability 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
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1284
Source: CVE Program / CVE List V5
Vulnerability Title
GNU Emacs 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GNU emacs是美国GNU基金会开源的一款可扩展的文本编辑环境。 GNU Emacs 30.2及之前版本存在输入验证错误漏洞,该漏洞源于sfnt_read_table_directory()函数未正确验证表头输入,由于读取长度检查中比较变量不正确,特制字体文件可导致解析器返回包含未初始化堆内存的结构,从而造成信息泄露、崩溃或32位目标上的任意内存访问。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
GNU Emacs 0 ~ 30.2 -

II. Public POCs for CVE-2026-71394

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-71394

请登录查看更多情报信息。

Security Blog Posts for CVE-2026-71394 (1)

Other References for CVE-2026-71394 (1)

Same Patch Batch · GNU · 2026-08-10 · 7 CVEs total

CVE-2026-71392 5.3 MEDIUM Integer Overflow in GNU Emacs for Android
CVE-2026-71393 5.3 MEDIUM Heap Buffer Overflow in GNU Emacs for Android
CVE-2026-71391 5.3 MEDIUM Off-by-One Error in GNU Emacs for Android
CVE-2026-66484 4.6 MEDIUM Path Traversal in GNU cpio
CVE-2026-66486 4.6 MEDIUM Improper Output Encoding in GNU cpio
CVE-2026-66485 4.6 MEDIUM Uncontrolled Memory Allocation in GNU cpio

IV. Related Vulnerabilities

V. Comments for CVE-2026-71394

No comments yet


Leave a comment