Impact
GNU Emacs for Android contains an integer overflow in the sfnt_read_cmap_format_12() function, which is called when interpreting TrueType font tables. A crafted font file triggers an unchecked addition in an xmalloc call, causing the 32‑bit allocation size to wrap around. This overflow corrupts heap memory and can be used by an attacker to execute arbitrary code. The flaw is a classic CWE‑190 integer overflow. The vulnerability only manifests when Emacs processes a malicious font file.
Affected Systems
The affected product is GNU Emacs running on Android, specifically the 32‑bit builds of Emacs for Android. No specific release version is listed, so any installed Emacs for Android build that has not been updated with the patch commit should be considered vulnerable.
Risk and Exploitability
The CVSS score of 5.3 indicates a moderate severity. EPSS data is not available, and the issue is not listed in the CISA KEV catalog. The likely attack vector is delivery of a malicious TrueType font via email attachment, an EWW (Emacs Web Wowser) page, or a document that uses custom faces. Because the flaw requires a crafted font file to be interpreted by Emacs, an attacker must have some vectors of delivering files that Emacs will load.
OpenCVE Enrichment