CVE catalog

CVE-2026-71393

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 witho

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.67% · Oct 25, 2026

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

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