cve.bz

CVE-2026-71394 gnu emacs

5.3 mediumEPSS 0.4%Fix available

Medium (5.3) in gnu emacs. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 4.0

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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1284 Improper Validation of Specified Quantity in Input
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • GNU Emacs: fixed in commit 7621ee1d01229d50e5c0cddea6bf0b01095a62cf

Ask an AI about this CVE

Show the promptExplain CVE-2026-71394 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-71394?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-71394?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-71394 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-71394

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-71394](https://cve.bz/cve/badge/CVE-2026-71394.svg)](https://cve.bz/cve/CVE-2026-71394)

HTML:

<a href="https://cve.bz/cve/CVE-2026-71394"><img src="https://cve.bz/cve/badge/CVE-2026-71394.svg" alt="CVE-2026-71394"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GNU Emacsthrough 30.2

Fixed in

ProductFixed in
GNU Emacscommit 7621ee1d01229d50e5c0cddea6bf0b01095a62cf

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 3 morexemacs21, xemacs21-packagesno fix listedUBUNTU-CVE-2026-71394
Ubuntu26.10emacs, xemacs21, xemacs21-packagesno fix listedUBUNTU-CVE-2026-71394
UbuntuPro:16.04:LTSemacs24no fix listedUBUNTU-CVE-2026-71394
UbuntuPro:18.04:LTSemacs25no fix listedUBUNTU-CVE-2026-71394
UbuntuPro:20.04:LTS, Pro:22.04:LTS, Pro:24.04:LTS and 1 moreemacsno fix listedUBUNTU-CVE-2026-71394

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

To exploit this flaw, a user needs to load a malicious font file or a document with custom faces, limiting its exposure. Additionally, this flaw is specific to GNU Emacs for Android. For these reasons, this vulnerability has been rated with a moderate severity.

Red Hat's mitigation

Do not load untrusted font files or open unverified documents with custom faces.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10emacsNot affected
Red Hat Enterprise Linux 6emacsNot affected
Red Hat Enterprise Linux 7emacsNot affected
Red Hat Enterprise Linux 8emacsNot affected
Red Hat Enterprise Linux 9emacsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-71394.

References

Check your stackJSON