Skip to content
DayZeroHub
High Not yet writtenCVSS 8.7CVE-2026-116225

CVE-2026-116225: Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding

Erlang OTP

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-116225: high-severity vulnerability (CVSS 8.7) in Erlang OTP.

What happened

Original description from the source: 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. snmp_pdus:dec_oid_element/3 does not limit the number of base-128 octets in a sub-identifier, and snmp_pdus:dec_oid_elements/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 (snmpa_net_if or snmpm_net_if). 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.

Why it matters

High severity, CVSS 8.7.

Affected products and versions

Erlang OTP 4.25.1 (fixed in 5.18.2.3); Erlang OTP 4.25.1 (fixed in 5.20.2.4); Erlang OTP 4.25.1 (fixed in 5.20.7); Erlang OTP 17.0 (fixed in 27.3.4.20); Erlang OTP 17.0 (fixed in 28.5.0.9); Erlang OTP 17.0 (fixed in 29.1.3); Erlang OTP 84adefa331c4159d432d22840663c38f155cd4c1 (fixed in 6f8c1044d17bfaa9112bf3cd471cec0d61e146ca); Erlang OTP 84adefa331c4159d432d22840663c38f155cd4c1 (fixed in 8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f); Erlang OTP 84adefa331c4159d432d22840663c38f155cd4c1 (fixed in a1bfce6a034b5cbb17f85b3eea2f601c7a691805); Erlang OTP 6f8c1044d17bfaa9112bf3cd471cec0d61e146ca (fixed in 6f8c1044d17bfaa9112bf3cd471cec0d61e146ca); Erlang OTP 8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f (fixed in 8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f); Erlang OTP a1bfce6a034b5cbb17f85b3eea2f601c7a691805 (fixed in a1bfce6a034b5cbb17f85b3eea2f601c7a691805)

ProductVersionsFixed in
Erlang OTP4.25.15.18.2.3
Erlang OTP4.25.15.20.2.4
Erlang OTP4.25.15.20.7
Erlang OTP17.027.3.4.20
Erlang OTP17.028.5.0.9
Erlang OTP17.029.1.3
Erlang OTP84adefa331c4159d432d22840663c38f155cd4c16f8c1044d17bfaa9112bf3cd471cec0d61e146ca
Erlang OTP84adefa331c4159d432d22840663c38f155cd4c18c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f
Erlang OTP84adefa331c4159d432d22840663c38f155cd4c1a1bfce6a034b5cbb17f85b3eea2f601c7a691805
Erlang OTP6f8c1044d17bfaa9112bf3cd471cec0d61e146ca6f8c1044d17bfaa9112bf3cd471cec0d61e146ca
Erlang OTP8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f
Erlang OTPa1bfce6a034b5cbb17f85b3eea2f601c7a691805a1bfce6a034b5cbb17f85b3eea2f601c7a691805

Action recommended by the source

Upgrade to a fixed version: 27.3.4.20, 28.5.0.9, 29.1.3, 5.18.2.3, 5.20.2.4, 5.20.7, 6f8c1044d17bfaa9112bf3cd471cec0d61e146ca, 8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f.

Fixed in: 27.3.4.20, 28.5.0.9, 29.1.3, 5.18.2.3, 5.20.2.4, 5.20.7, 6f8c1044d17bfaa9112bf3cd471cec0d61e146ca, 8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f, a1bfce6a034b5cbb17f85b3eea2f601c7a691805

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-1284, CWE-770

Relevant change history

  1. Published

    Preliminary advisory published.