CVE-2026-115747Erlang OTP Improper Restriction of Operations within the Bounds of a Memory Buffer
NVD
Vulnerability Summary
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.
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.
CVSS v4.0 Base Metrics — Score 5.9 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- Erlang OTP >= 15.0 and < *
- Erlang OTP >= 27.0 and < *
- Erlang OTP >= 06d402a75078150963b75518ce271582bbb94897 and < *
- Erlang OTP *
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Erlang OTP and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 24, 2026Published
- Nov 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Erlang OTP CVEsYou are reading CVE-2026-115747. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/erlang/otp/security/advisories/GHSA-x527-4ww5-wwr5
- Referencehttps://cna.erlef.org/cves/CVE-2026-115747.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-115747
- Referencehttps://www.erlang.org/doc/system/versions.html#order-of-versions
- Patchhttps://github.com/erlang/otp/commit/06d402a75078150963b75518ce271582bbb94897
- Patchhttps://github.com/erlang/otp/commit/043d119950d8de1975a8a507e424d87cf765fbab
- Patchhttps://github.com/erlang/otp/commit/62c26d132760569a2ac098ce144de2aed4daa548
- Patchhttps://github.com/erlang/otp/commit/841017c3c85cba30181e7e344e5b16dc0bc25c3b
Data last checked: Nov 24, 2026 16:13 UTC