p PatchFirst

CVE-2026-71394

CVE-2026-71394 · Heap Use of Uninitialized Memory in GNU Emacs for Android

CVSS 5.3 · Medium · EPSS 0.4%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

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 | sh
Check your server for free →

Channels 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 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

Published
Updated

Stack: system

Affected products and versions

  • emacs

    Versions
    • ≥ 0, ≤ 30.2: Affected; ≥ commit 7621ee1d01229d50e5c0cddea6bf0b01095a62cf: 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

Original sources

Check your server →