Description

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.

Severity (CVSS)

Base score8.7
SeverityHigh
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Provided byCNA

Weaknesses

  • CWE-1284 — CWE-1284 Improper Validation of Specified Quantity in Input
  • CWE-770 — CWE-770 Allocation of Resources Without Limits or Throttling

Affected products

VendorProductVersions
ErlangOTP4.25.1 to <* [affected]; from 5.18.2.3: unaffected; from 5.20.2.4: unaffected; from 5.20.7: unaffected
ErlangOTP17.0 to <* [affected]; from 27.3.4.20: unaffected; from 28.5.0.9: unaffected; from 29.1.3: unaffected
ErlangOTP84adefa331c4159d432d22840663c38f155cd4c1 to <* [affected]; from 6f8c1044d17bfaa9112bf3cd471cec0d61e146ca: unaffected; from 8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f: unaffected; from a1bfce6a034b5cbb17f85b3eea2f601c7a691805: unaffected; 6f8c1044d17bfaa9112bf3cd471cec0d61e146ca to <* [unaffected]; 8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f to <* [unaffected]; a1bfce6a034b5cbb17f85b3eea2f601c7a691805 to <* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 25 Nov 2026 08:06 UTC.