Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.9CVE-2026-115747

CVE-2026-115747: AArch64 JIT register-cache bug allows VM denial of service via XML

Erlang OTP

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-115747: medium-severity vulnerability (CVSS 5.9) in Erlang OTP.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 5.9.

Affected products and versions

Erlang OTP 15.0 (fixed in 15.2.7.15); Erlang OTP 15.0 (fixed in 16.4.0.8); Erlang OTP 15.0 (fixed in 17.1.2); Erlang OTP 27.0 (fixed in 27.3.4.20); Erlang OTP 27.0 (fixed in 28.5.0.9); Erlang OTP 27.0 (fixed in 29.1.3); Erlang OTP 06d402a75078150963b75518ce271582bbb94897 (fixed in 043d119950d8de1975a8a507e424d87cf765fbab); Erlang OTP 06d402a75078150963b75518ce271582bbb94897 (fixed in 62c26d132760569a2ac098ce144de2aed4daa548); Erlang OTP 06d402a75078150963b75518ce271582bbb94897 (fixed in 841017c3c85cba30181e7e344e5b16dc0bc25c3b)

ProductVersionsFixed in
Erlang OTP15.015.2.7.15
Erlang OTP15.016.4.0.8
Erlang OTP15.017.1.2
Erlang OTP27.027.3.4.20
Erlang OTP27.028.5.0.9
Erlang OTP27.029.1.3
Erlang OTP06d402a75078150963b75518ce271582bbb94897043d119950d8de1975a8a507e424d87cf765fbab
Erlang OTP06d402a75078150963b75518ce271582bbb9489762c26d132760569a2ac098ce144de2aed4daa548
Erlang OTP06d402a75078150963b75518ce271582bbb94897841017c3c85cba30181e7e344e5b16dc0bc25c3b

Action recommended by the source

Upgrade to a fixed version: 043d119950d8de1975a8a507e424d87cf765fbab, 15.2.7.15, 16.4.0.8, 17.1.2, 27.3.4.20, 28.5.0.9, 29.1.3, 62c26d132760569a2ac098ce144de2aed4daa548.

Fixed in: 043d119950d8de1975a8a507e424d87cf765fbab, 15.2.7.15, 16.4.0.8, 17.1.2, 27.3.4.20, 28.5.0.9, 29.1.3, 62c26d132760569a2ac098ce144de2aed4daa548, 841017c3c85cba30181e7e344e5b16dc0bc25c3b

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-119

Relevant change history

  1. Published

    Preliminary advisory published.