CVE-2026-71393
published medium CVSS 4.0 · 5.3Heap Buffer Overflow in GNU Emacs for Android
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GNU | — | Emacs0 through 30.2 (affected · custom); changes: unaffected at commit d51a4722316efe0960994d371e1859099894d1ca · Other versions: unaffected · Platforms: Android, 32 bit | Version-specific | Not stated | CERT-PL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CERT-PL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GNU | Emacs | 0 through 30.2 (affected · custom); changes: unaffected at commit d51a4722316efe0960994d371e1859099894d1caDefault: unaffected | CERT-PL · cna |
Weaknesses
1- CWE-190 CWE-190 Integer Overflow or Wraparound
References
3Provider assertions
2CERT-PL · cna
Heap Buffer Overflow in GNU Emacs for Android
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d63b0019c0cd200071dc60324162827f1c38291f9804f8d0a861724877f8ce7e
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record