CVE-2026-115747
Description
Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by xmerl_sax_parser. In erts/emulator/beam/jit/arm/instr_common.cpp, BeamModuleAssembler::emit_is_ge_lt wraps its generated code in preserve_cache and marks only TMP1 as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment is_ge_lt_shared, which also overwrites ARG1 and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as � takes this path in the ?is_char guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code. This issue affects OTP from OTP 27.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
Affected
| Vendor | Product | Version |
|---|---|---|
| microsoft | Entra Device Registration | |
| microsoft | azl3 rapidjson 1.1.0-8 on Azure Linux 3.0 | |
| microsoft | Windows Server 2012 | |
| microsoft | Windows Server 2012 (Server Core installation) | |
| microsoft | Windows Server 2012 R2 | |
| microsoft | Windows Server 2012 R2 (Server Core installation) | |
| microsoft | Windows Server 2016 | |
| microsoft | Office Online Server | |
| microsoft | Windows 10 Version 1607 for 32-bit Systems | |
| microsoft | Windows 10 Version 1607 for x64-based Systems | |
| microsoft | Windows Server 2016 (Server Core installation) | |
| microsoft | Microsoft SQL Server 2017 for x64-based Systems (GDR) | |
| microsoft | Windows 10 Version 1809 for 32-bit Systems | |
| microsoft | Windows 10 Version 1809 for x64-based Systems | |
| microsoft | Windows Server 2019 | |
| microsoft | Windows Server 2019 (Server Core installation) | |
| microsoft | Visual Studio Code | |
| microsoft | Windows Admin Center | |
| microsoft | Microsoft Edge (Chromium-based) | |
| microsoft | Microsoft 365 Apps for Enterprise for 32-bit Systems | |
| microsoft | Microsoft 365 Apps for Enterprise for 64-bit Systems | |
| microsoft | Raw Image Extension on Windows 10 version 21H2 | |
| microsoft | Raw Image Extension on Windows 10 version 22H2 | |
| microsoft | Raw Image Extension on Windows 11 version 24H2 | |
| microsoft | Raw Image Extension on Windows 11 version 25H2 | |
| microsoft | Raw Image Extension on Windows 11 version 26H1 | |
| microsoft | Raw Image Extension on Windows 11 version 23H2 | |
| microsoft | Raw Image Extension on Windows 11 version 26H2 | |
| microsoft | Raw Image Extension on Windows 10 version 1809 | |
| microsoft | HEIF Image Extension on Windows 10 version 21H2 | |
OS impact
Azure Linux Affected 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 3.0 | — | Affected | — |
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | erlang |
Affected | — |
| sid | erlang |
Fixed | 1:29.1.3+dfsg-1 |
| forky | erlang |
Affected | — |
| bookworm | erlang |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
References
- https://cna.erlef.org/cves/CVE-2026-115747.html
- https://github.com/erlang/otp/commit/043d119950d8de1975a8a507e424d87cf765fbab
- https://github.com/erlang/otp/commit/06d402a75078150963b75518ce271582bbb94897
- https://github.com/erlang/otp/commit/62c26d132760569a2ac098ce144de2aed4daa548
- https://github.com/erlang/otp/commit/841017c3c85cba30181e7e344e5b16dc0bc25c3b
- https://github.com/erlang/otp/security/advisories/GHSA-x527-4ww5-wwr5
- https://osv.dev/vulnerability/EEF-CVE-2026-115747
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://www.suse.com/security/cve/CVE-2026-115747.html
- https://security-tracker.debian.org/tracker/CVE-2026-115747
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-115747
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.