CVE catalog

CVE-2026-71392

GNU Emacs for Android is vulnerable to an integer overflow in the sfnt_read_cmap_format_12() function in src/sfnt.c. When processing a crafted TrueType font file, an unguarded addition in the xmalloc

[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 the sfnt_read_cmap_format_12() function in src/sfnt.c. When processing a crafted TrueType font file, an unguarded addition in the xmalloc allocation call wraps around on 32-bit builds, causing a heap buffer overflow write. 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 results in heap memory corruption that can lead to code execution. This issue was fixed in commit c4e20777c26548722a37b03db93243e83a0d6188

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