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.
Metrics
Affected Vendors & Products
No advisories yet.
Solution
No solution given by the vendor.
Workaround
On AArch64 hosts, run the emulator without the JIT: start it with erl -emu_flavor emu when the interpreter flavor is installed, or build OTP with --disable-jit. The interpreter does not execute the affected generated code.
Tue, 24 Nov 2026 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Erlang erlang/otp
Erlang otp |
|
| Vendors & Products |
Erlang erlang/otp
Erlang otp |
Tue, 24 Nov 2026 15:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | AArch64 JIT register-cache bug allows VM denial of service via XML | |
| First Time appeared |
Erlang
Erlang erlang\/otp |
|
| Weaknesses | CWE-119 | |
| CPEs | cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Erlang
Erlang erlang\/otp |
|
| References |
|
|
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: EEF
Published:
Updated: 2026-11-24T16:26:57.801Z
Reserved: 2026-10-26T10:45:02.618Z
Link: CVE-2026-115747
No data.
Status : Received
Published: 2026-11-24T16:17:53.260
Modified: 2026-11-24T17:18:12.533
Link: CVE-2026-115747
No data.
OpenCVE Enrichment
Updated: 2026-11-24T17:00:08Z