CVE-2026-115747

NameCVE-2026-115747
DescriptionImproper 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
erlang (PTS)bookworm1:25.2.3+dfsg-1+deb12u4vulnerable
bookworm (security)1:25.2.3+dfsg-1+deb12u1vulnerable
trixie (security), trixie1:27.3.4.1+dfsg-1+deb13u4vulnerable
forky1:29.1.2+dfsg-1vulnerable
sid1:29.1.3+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
erlangsource(unstable)1:29.1.3+dfsg-1

Notes

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://github.com/erlang/otp/commit/841017c3c85cba30181e7e344e5b16dc0bc25c3b (OTP-29.1.3)
https://github.com/erlang/otp/commit/043d119950d8de1975a8a507e424d87cf765fbab (OTP-27.3.4.20)

Search for package or bug name: Reporting problems