AZL-116099: CVE-2026-116225 affecting package erlang 26.2.5.21-8
Improper Validation of Specified Quantity in Input vulnerability in the BER decoder in Erlang/OTP snmp allows an unauthenticated remote attacker to exhaust CPU via an SNMP message that contains an OBJECT IDENTIFIER with a very long sub-identifier.
snmppdus:decoidelement/3 does not limit the number of base-128 octets in a sub-identifier, and snmppdus:decoidelements/3 does not limit the number of sub-identifiers, so one sub-identifier can span the whole datagram. When the value exceeds the native integer size, each further octet copies a growing bignum, and decoding time grows quadratically with the sub-identifier length. The agent and the manager decode OIDs before they check community strings or SNMPv3 credentials, inside the single network interface process (snmpanetif or snmpmnetif). That process does not read the next datagram until decoding completes.
This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, and 5.20.7. Whether OTP before OTP 17.0, corresponding to snmp before 4.25.1, is affected is unknown.
Affected Software
Event History
Frequently Asked Questions
Which Erlang/OTP SNMP deployments are exposed?
Both SNMP agents and managers are affected because each decodes OIDs before validating community strings or SNMPv3 credentials. The issue affects OTP 17.0 through versions before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3; impact on OTP versions before 17.0 is unknown.
Does an attacker need SNMP credentials or prior access?
No. An unauthenticated remote attacker can trigger the issue with an SNMP message containing an OBJECT IDENTIFIER with a very long sub-identifier, because OID decoding occurs before community-string or SNMPv3 credential checks.
What is the operational impact of exploitation?
A crafted OID can cause quadratic CPU consumption during decoding. The affected SNMP network-interface process does not read subsequent datagrams until decoding completes, so traffic handled by that process can be delayed or blocked while it processes the malicious message.
Which versions contain the stated fixes?
The fixed OTP releases are 27.3.4.20, 28.5.0.9, and 29.1.3. These correspond to SNMP versions 5.18.2.3, 5.20.2.4, and 5.20.7.