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

Published Nov 24, 2026
·
Updated

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.

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.

Impact

An unauthenticated remote attacker who can send UDP datagrams to an SNMP agent or manager can keep its network interface process busy with a low rate of crafted messages. The agent or manager then stops processing legitimate SNMP traffic while the attack continues.

Workarounds

Restrict network access to the SNMP agent and manager UDP ports to trusted management hosts only, using firewall rules or by binding the agent to a dedicated management interface. Disable SNMPv1 and SNMPv2c in the agent if they are not needed. This reduces, but does not eliminate, the exposure, since SNMPv3 discovery messages are still decoded before authentication.

Note that community strings and SNMPv3 credentials do not mitigate this issue, since decoding happens before they are checked.

Other sources

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.

— Red Hat

Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding

— Microsoft

Affected Software

13 affected componentsFixes available
Ericsson Erlang/OTP SNMP>=17.0<27.3.4.20, <28.5.0.9, <29.1.3
debian/erlang*
debian/erlang*
debian/erlang*
debian/erlang<=1:25.2.3+dfsg-1+deb12u4, <=1:25.2.3+dfsg-1+deb12u1, <=1:27.3.4.1+dfsg-1+deb13u4, <=1:29.1.2+dfsg-1
1:29.1.3+dfsg-1
ubuntu/erlang*
ubuntu/erlang*
ubuntu/erlang*
ubuntu/erlang*
ubuntu/erlang*
ubuntu/erlang*
ubuntu/erlang*
ubuntu/erlang*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/erlang to a version that resolves this vulnerability.

    Fixed in 1:29.1.3+dfsg-1
  2. Upgrade

    Upgrade snmp to a version that resolves this vulnerability.

    Fixed in 5.18.2.3
  3. Upgrade

    Upgrade snmp to a version that resolves this vulnerability.

    Fixed in 5.20.2.4
  4. Upgrade

    Upgrade snmp to a version that resolves this vulnerability.

    Fixed in 5.20.7
  5. Configuration

    Disable SNMPv1 and SNMPv2c in the agent if they are not needed.

    SNMP agent SNMPv1 and SNMPv2c = disabled
  6. Compensating control

    Restrict access to the SNMP agent and manager UDP ports to trusted management hosts using firewall rules, or bind the agent to a dedicated management interface.

Event History

Nov 24, 2026
CVE Published
via MITRE·03:07 PM
Data Sourced
via MITRE·03:07 PM
DescriptionWeakness
Data Sourced
via OSV·03:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·03:22 PM
DescriptionSeverityAffected Software
Nov 25, 2026
Data Sourced
via OSV·09:30 PM
Affected Software
Nov 26, 2026
Data Sourced
via Microsoft·09:03 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which SNMP deployments are exposed to this denial of service?

Both Erlang/OTP SNMP agents and managers are exposed because each decodes OIDs before validating community strings or SNMPv3 credentials. An unauthenticated remote sender can target the network interface process that receives SNMP datagrams.

2

Does SNMP authentication or a community string prevent exploitation?

No. OID decoding occurs before community-string and SNMPv3 credential checks, so a malicious datagram can consume CPU without valid credentials.

3

What versions contain the fix?

The issue is fixed in OTP 27.3.4.20, 28.5.0.9, and 29.1.3, corresponding to SNMP 5.18.2.3, 5.20.2.4, and 5.20.7. OTP releases from 17.0 up to, but excluding, those fixed releases are affected; impact on releases before OTP 17.0 is unknown.

4

Why can a single malicious packet disrupt SNMP processing?

A very long base-128 OBJECT IDENTIFIER sub-identifier causes repeated copying of an increasingly large integer during decoding, resulting in quadratic CPU cost. The affected network interface process does not read subsequent datagrams until decoding finishes.

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