REDHAT-BUG-2583451: Medium severity Erlang Erlang/OTP vulnerability

Published Nov 24, 2026
·
Updated

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 xmerlsaxparser.

In erts/emulator/beam/jit/arm/instrcommon.cpp, BeamModuleAssembler::emitisgelt wraps its generated code in preservecache and marks only TMP1 as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment isgeltshared, 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 ?ischar 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.

Affected Software

1 affected component
Erlang Erlang/OTP>=27.0<27.3.4.20, >=28.0<28.5.0.9, >=29.0<29.1.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 27.3.4.20
  2. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 28.5.0.9
  3. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 29.1.3

Event History

Nov 24, 2026
Data Sourced
via Red Hat·03:41 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed?

Only Erlang/OTP deployments running the JIT on AArch64 are affected. The x86-64 JIT and interpreter builds do not contain the faulty code.

2

What input is needed to trigger the crash?

An attacker needs input that reaches a chained integer range guard with a value that is not a small integer. One demonstrated path is an oversized numeric character reference, such as &#576460752303423488;, processed by xmerl_sax_parser.

3

How can I determine whether an installation is affected?

Check that the system is an AArch64 build using the JIT, then check its OTP or erts version. Affected OTP releases begin at 27.0 and are fixed in OTP 27.3.4.20, 28.5.0.9, and 29.1.3; the corresponding fixed erts versions are 15.2.7.15, 16.4.0.8, and 17.1.2.

4

What can be done before upgrading?

Use an interpreter build rather than the AArch64 JIT where feasible, since interpreter builds do not contain the faulty code. x86-64 JIT builds are also not affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203