CVE-2026-115747AArch64 JIT register-cache bug allows VM denial of service via XML
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | erlang | Fix pending | UBUNTU-CVE-2026-115747 | |
| Ubuntu 26.04 | erlang | Under investigation | UBUNTU-CVE-2026-115747 | |
| Ubuntu 24.04 | erlang | Under investigation | UBUNTU-CVE-2026-115747 | |
| Ubuntu 22.04 | erlang | Under investigation | UBUNTU-CVE-2026-115747 | |
| Ubuntu 20.04 | erlang | Fix pending | UBUNTU-CVE-2026-115747 | |
| Ubuntu 18.04 | erlang | Fix pending | UBUNTU-CVE-2026-115747 | |
| Ubuntu 16.04 | erlang | Fix pending | UBUNTU-CVE-2026-115747 | |
| Ubuntu 14.04 | erlang | Fix pending | UBUNTU-CVE-2026-115747 | |
| Debian 14 | erlang | Fix pending | DEBIAN-CVE-2026-115747 | |
| Debian 13 | erlang | Fix pending | DEBIAN-CVE-2026-115747 | |
| Debian 12 | erlang | Fix pending | DEBIAN-CVE-2026-115747 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 15.0 and later; fixed in
15.2.7.15,16.4.0.8,17.1.2 - Erlang OTP: affected: 27.0 and later; fixed in
27.3.4.20,28.5.0.9,29.1.3 - Erlang OTP: affected: 06d402a75078150963b75518ce271582bbb94897 and later; fixed in
043d119950d8de1975a8a507e424d87cf765fbab,62c26d132760569a2ac098ce144de2aed4daa548,841017c3c85cba30181e7e344e5b16dc0bc25c3b
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.
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-x527-4ww5-wwr5 (vendor-advisory)
- https://github.com/erlang/otp/commit/043d119950d8de1975a8a507e424d87cf765fbab (patch)
- https://github.com/erlang/otp/commit/62c26d132760569a2ac098ce144de2aed4daa548 (patch)
- https://github.com/erlang/otp/commit/841017c3c85cba30181e7e344e5b16dc0bc25c3b (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-x527-4ww5-wwr5
- https://cna.erlef.org/cves/CVE-2026-115747.html
- https://osv.dev/vulnerability/EEF-CVE-2026-115747
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/06d402a75078150963b75518ce271582bbb94897
- https://github.com/erlang/otp/commit/043d119950d8de1975a8a507e424d87cf765fbab
- https://github.com/erlang/otp/commit/62c26d132760569a2ac098ce144de2aed4daa548
- https://github.com/erlang/otp/commit/841017c3c85cba30181e7e344e5b16dc0bc25c3b
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.