# CVE-2026-71392: Integer Overflow in GNU Emacs for Android

- Severity: Medium 5.3 (CVSS:4.0, scored by CERT-PL) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-08-10T10:22:26.135Z
- Modified: 2026-10-24T15:10:00.190Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## Description

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

(As written by CVE List.)

## Affected

- GNU Emacs: up to 30.2

## References

- <https://cert.pl/en/posts/2026/08/CVE-2026-71391> (third-party-advisory)
- <https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html> (product)
- <https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c4e20777c26548722a37b03db93243e83a0d6188> (patch)

## Sources

- CVE List: [CVE-2026-71392](https://www.cve.org/CVERecord?id=CVE-2026-71392), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71392](https://nvd.nist.gov/vuln/detail/CVE-2026-71392), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71392 · Whole record: https://cve.day/CVE-2026-71392.json · Rebuilt by cve.day 2026-11-25T22:59:31.987Z
