CVE-2026-71391
CVE-2026-71391 · Off-by-One Error in GNU Emacs for Android
CVSS 5.3 · Medium · EPSS 0.5%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- emacsNo fix published
- emacs24 Ubuntu Pro 16.04 LTSNo fix published
- xemacs21 Ubuntu 16.04 LTSNo fix published
- xemacs21-packages Ubuntu 16.04 LTSNo fix published
- and 18 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="emacs24"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="xemacs21"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="xemacs21-packages"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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
- Published
- Updated
Stack: system
Affected products and versions
emacs
- Versions
- ≥ 0, ≤ 30.2: Affected; ≥ commit 95ab9ef627b212d74d321c5bbb5b56a1be7b9fbe: Not affected (custom)
No fix published
emacs24 Ubuntu Pro 16.04 LTS
- Versions
- 24.5+1-1ubuntu2
- 24.5+1-1ubuntu4
- 24.5+1-1ubuntu5
- 24.5+1-1ubuntu6
- 24.5+1-1ubuntu7
- 24.5+1-6ubuntu1
All versions (11)
- 24.5+1-6ubuntu1.1
- 24.5+1-6ubuntu1.1+esm1
- 24.5+1-6ubuntu1.1+esm2
- 24.5+1-6ubuntu1.1+esm3
- 24.5+1-6ubuntu1.1+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 16.04 LTS
- Versions
- 21.4.22-4ubuntu3
- 21.4.22-14ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 16.04 LTS
- Versions
- 2009.02.17.dfsg.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs25 Ubuntu Pro 18.04 LTS
- Versions
- 25.2+1-6
- 25.2+1-6ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 18.04 LTS
- Versions
- 21.4.24-4ubuntu1
- 21.4.24-5ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 18.04 LTS
- Versions
- 2009.02.17.dfsg.2-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu Pro 20.04 LTS
- Versions
- 1:26.3+1-1ubuntu1
- 1:26.3+1-1ubuntu2
- 1:26.3+1-1ubuntu2+esm1
- 1:26.3+1-1ubuntu2+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 20.04 LTS
- Versions
- 21.4.24-8build1
- 21.4.24-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 20.04 LTS
- Versions
- 2009.02.17.dfsg.2-4
- 2009.02.17.dfsg.2-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 22.04 LTS
- Versions
- 21.4.24-9ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 22.04 LTS
- Versions
- 2009.02.17.dfsg.2-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu Pro 22.04 LTS
- Versions
- 1:27.1+1-3ubuntu3
- 1:27.1+1-3ubuntu5
- 1:27.1+1-3ubuntu5.1
- 1:27.1+1-3ubuntu5.2
- 1:27.1+1-3ubuntu5.2+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 24.04 LTS
- Versions
- 21.4.24-12
- 21.4.24-12build2
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 24.04 LTS
- Versions
- 2009.02.17.dfsg.3-2
- 2009.02.17.dfsg.3-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu Pro 24.04 LTS
- Versions
- 1:29.1+1-5ubuntu1
- 1:29.2+1-1ubuntu1
- 1:29.2+1-2ubuntu4
- 1:29.3+1-1ubuntu2
- 1:29.3+1-1ubuntu2+esm1
- 1:29.3+1-1ubuntu2+esm3
All versions (7)
- 1:29.3+1-1ubuntu2+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu 26.10
- Versions
- 1:30.2+1-2ubuntu1
- 1:30.2+1-6ubuntu1
- 1:30.2+1-11ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 26.10
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 26.10
- Versions
- 2009.02.17.dfsg.3-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 26.04 LTS
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 26.04 LTS
- Versions
- 2009.02.17.dfsg.3-3
- 2009.02.17.dfsg.3-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu Pro 26.04 LTS
- Versions
- 1:30.1+1-9ubuntu1
- 1:30.2+1-1ubuntu2
- 1:30.2+1-2ubuntu1
- 1:30.2+1-2ubuntu1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published