CVE-2026-116225Erlang OTP Improper Validation of Specified Quantity in Input
NVD
Vulnerability Summary
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.
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.
CVSS v4.0 Base Metrics — Score 8.7 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
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 >= 4.25.1 and < *
- Erlang OTP >= 17.0 and < *
- Erlang OTP >= 84adefa331c4159d432d22840663c38f155cd4c1 and < *
- Erlang OTP *
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- 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-116225. 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-9p2q-5p4x-rhpq
- Referencehttps://cna.erlef.org/cves/CVE-2026-116225.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-116225
- Referencehttps://www.erlang.org/doc/system/versions.html#order-of-versions
- Patchhttps://github.com/erlang/otp/commit/6f8c1044d17bfaa9112bf3cd471cec0d61e146ca
- Patchhttps://github.com/erlang/otp/commit/8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f
- Patchhttps://github.com/erlang/otp/commit/a1bfce6a034b5cbb17f85b3eea2f601c7a691805
Data last checked: Nov 24, 2026 16:13 UTC