cve.bz

CVE-2026-71393 gnu emacs: Year 2038 problem, Y2K38, Y2038, Epochalypse

5.3 mediumEPSS 0.7%Fix available

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

On this page
GNU Emacs for Android is vulnerable to an integer overflow in sfnt_read_name_table() in src/sfnt.c. The function computes an allocation size using a 32-bit length value from a TrueType font file without overflow checking. On 32-bit targets, a crafted font causes the calculation to wrap, resulting in an undersized heap allocation. A subsequent read() call writes beyond the buffer, causing a heap buffer overflow. 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 can lead to heap memory corruption and potential code execution. This issue was fixed in commit d51a4722316efe0960994d371e1859099894d1ca

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:N/SI:L/SA:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd 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-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
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 d51a4722316efe0960994d371e1859099894d1ca

Ask an AI about this CVE

Show the promptExplain CVE-2026-71393 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-71393?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-71393?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-71393 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-71393

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-71393](https://cve.bz/cve/badge/CVE-2026-71393.svg)](https://cve.bz/cve/CVE-2026-71393)

HTML:

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

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GNU Emacsthrough 30.2

Fixed in

ProductFixed in
GNU Emacscommit d51a4722316efe0960994d371e1859099894d1ca

Linux distributions

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

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 on 32-bit target systems. 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-71393.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON