CVE catalog

CVE-2026-71391

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

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.54% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianemacssid1:30.2+1-11not affected
Debianemacsforky1:30.2+1-11not affected
Debianemacstrixie1:30.1+1-6+deb13u1not affected
Debianemacstrixie-security1:30.1+1-6+deb13u1not affected
Debianemacsbookworm1:28.2+1-15+deb12u4not affected
Debianemacsbookworm-security1:28.2+1-15+deb12u4not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianemacssourcesidNot affectedunimportantNot reportedNot reported
DebianemacssourceforkyNot affectedunimportantNot reportedNot reported
DebianemacssourcetrixieNot affectedunimportantNot reportedNot reported
DebianemacssourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [emacs]Not affected
    Details (6)
    • 1:28.2+1-15+deb12u4 · all · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

  • [emacs-bin-common]Not affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

  • [emacs-common]Not affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · all · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

  • [emacs-el]Not affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · all · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

  • [emacs-gtk]Not affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

  • [emacs-lucid]Not affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

  • [emacs-nox]Not affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Not affected

      nvd · emacs · debian · bookworm

  • [emacs-pgtk]Not affected

    Source package: [emacs]

    Details (2)
    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · emacs · debian · bookworm

Observed:

References