CVE-2026-71391
published medium CVSS 4.0 · 5.3Off-by-One Error 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 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe · Other versions: unaffected · Platforms: Android | 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 contains an off-by-one error in the gvar table parser in src/sfnt.c. The shared-coordinate index boundary check in sfnt_vary_simple_glyph() and sfnt_vary_compound_glyph() uses a strict greater-than comparison instead of greater-than-or-equal, allowing a crafted TrueType variable font to bypass the check and trigger a heap-based out-of-bounds read via memcpy. 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 exposes heap memory contents which can be later used to defeat ASLR. This issue was fixed in commit 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe
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:N/SC:L/SI:N/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 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbeDefault: unaffected | CERT-PL · cna |
Weaknesses
1- CWE-193 CWE-193 Off-by-one Error
References
3Provider assertions
2CERT-PL · cna
Off-by-One Error in GNU Emacs for Android
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8798dcaaadef38b0f2b8a272eab82d1ba56d6593ea79baca4fc462217f385bd0
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record