{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71393","assignerOrgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","state":"PUBLISHED","assignerShortName":"CERT-PL","dateReserved":"2026-08-06T09:25:32.311Z","datePublished":"2026-08-10T10:22:37.299Z","dateUpdated":"2026-08-10T17:50:19.871Z"},"containers":{"cna":{"providerMetadata":{"orgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","shortName":"CERT-PL","dateUpdated":"2026-08-10T10:22:37.299Z"},"title":"Heap Buffer Overflow in GNU Emacs for Android","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","type":"CWE"}]}],"affected":[{"vendor":"GNU","product":"Emacs","platforms":["Android","32 bit"],"repo":"https://cgit.git.savannah.gnu.org/cgit/emacs.git","programFiles":["src/sfnt.c"],"versions":[{"status":"affected","version":"0","lessThanOrEqual":"30.2","changes":[{"at":"commit d51a4722316efe0960994d371e1859099894d1ca","status":"unaffected"}],"versionType":"custom"}],"defaultStatus":"unaffected"}],"cpeApplicability":[{"operator":"OR","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:emacs:*:*:android:*:*:*:*:*","versionStartIncluding":"0","versionEndIncluding":"30.2"},{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:emacs:*:*:32_bit:*:*:*:*:*","versionStartIncluding":"0","versionEndIncluding":"30.2"}]}]}],"descriptions":[{"lang":"en","value":"GNU Emacs for Android is vulnerable to an integer overflow in sfnt_read_name_table() in src/sfnt.c. The function computes an allocation size using a 32-bit length value from a TrueType font file without overflow checking. On 32-bit targets, a crafted font causes the calculation to wrap, resulting in an undersized heap allocation. A subsequent read() call writes beyond the buffer, causing a heap buffer overflow. 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 can lead to heap memory corruption and potential code execution.\n\n\n\n\nThis issue was fixed in commit d51a4722316efe0960994d371e1859099894d1ca","supportingMedia":[{"type":"text/html","base64":false,"value":"<div>GNU Emacs for Android is vulnerable to an integer overflow in sfnt_read_name_table() in src/sfnt.c. The function computes an allocation size using a 32-bit length value from a TrueType font file without overflow checking. On 32-bit targets, a crafted font causes the calculation to wrap, resulting in an undersized heap allocation. A subsequent read() call writes beyond the buffer, causing a heap buffer overflow. An attacker can deliver a malicious font file via email, EWW (Emacs Web Wowser), or documents with custom faces, causing Emacs to load it.&nbsp;This can lead to heap memory corruption and potential code execution.</div><div><br></div><div><div>This issue was fixed in commit d51a4722316efe0960994d371e1859099894d1ca</div></div>"}]}],"tags":["x_open-source"],"references":[{"url":"https://cert.pl/en/posts/2026/08/CVE-2026-71391","tags":["third-party-advisory"]},{"url":"https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html","tags":["product"]},{"url":"https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d51a4722316efe0960994d371e1859099894d1ca","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.3,"vectorString":"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"}}],"credits":[{"lang":"en","value":"Michał Majchrowicz (AFINE Team)","type":"finder"},{"lang":"en","value":"Marcin Wyczechowski (AFINE Team)","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-10T17:50:10.654544Z","id":"CVE-2026-71393","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-10T17:50:19.871Z"}}]}}