CVE catalog

CVE-2026-71394

GNU Emacs for Android improperly validates the table header input in sfnt_read_table_directory() in src/sfnt.c. Due to an incorrect comparison variable in the read-length check, a crafted font file th

[CVE catalog]

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

GNU Emacs for Android improperly validates the table header input in sfnt_read_table_directory() in src/sfnt.c. Due to an incorrect comparison variable in the read-length check, a crafted font file that claims to contain more table directory entries than actually present causes the parser to return a struct with uninitialized heap memory in the table directory entries. 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 leads to the use of uninitialized heap data in subsequent table lookups, potentially resulting in information disclosure, crashes, or arbitrary memory access on 32-bit targets. This issue is fixed after commit 7621ee1d01229d50e5c0cddea6bf0b01095a62cf

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