p PatchFirst

CVE-2026-71392

CVE-2026-71392 · Integer Overflow in GNU Emacs for Android

CVSS 5.3 · Medium · EPSS 0.7%

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

Published
Updated

Stack: system

Affected products and versions

  • emacs

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