CVE-2026-116225Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | erlang | Fix pending | UBUNTU-CVE-2026-116225 | |
| Ubuntu 26.04 | erlang | Under investigation | UBUNTU-CVE-2026-116225 | |
| Ubuntu 24.04 | erlang | Under investigation | UBUNTU-CVE-2026-116225 | |
| Ubuntu 22.04 | erlang | Under investigation | UBUNTU-CVE-2026-116225 | |
| Ubuntu 20.04 | erlang | Fix pending | UBUNTU-CVE-2026-116225 | |
| Ubuntu 18.04 | erlang | Fix pending | UBUNTU-CVE-2026-116225 | |
| Ubuntu 16.04 | erlang | Fix pending | UBUNTU-CVE-2026-116225 | |
| Ubuntu 14.04 | erlang | Fix pending | UBUNTU-CVE-2026-116225 | |
| Debian 14 | erlang | Fix pending | DEBIAN-CVE-2026-116225 | |
| Debian 13 | erlang | Fix pending | DEBIAN-CVE-2026-116225 | |
| Debian 12 | erlang | Fix pending | DEBIAN-CVE-2026-116225 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 4.25.1 and later; fixed in
5.18.2.3,5.20.2.4,5.20.7 - Erlang OTP: affected: 17.0 and later; fixed in
27.3.4.20,28.5.0.9,29.1.3 - Erlang OTP: affected: 84adefa331c4159d432d22840663c38f155cd4c1 and later; fixed in
6f8c1044d17bfaa9112bf3cd471cec0d61e146ca,8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f
Workaround: 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.
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-9p2q-5p4x-rhpq (vendor-advisory)
- https://github.com/erlang/otp/commit/6f8c1044d17bfaa9112bf3cd471cec0d61e146ca (patch)
- https://github.com/erlang/otp/commit/8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f (patch)
- https://github.com/erlang/otp/commit/a1bfce6a034b5cbb17f85b3eea2f601c7a691805 (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-9p2q-5p4x-rhpq
- https://cna.erlef.org/cves/CVE-2026-116225.html
- https://osv.dev/vulnerability/EEF-CVE-2026-116225
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/6f8c1044d17bfaa9112bf3cd471cec0d61e146ca
- https://github.com/erlang/otp/commit/8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f
- https://github.com/erlang/otp/commit/a1bfce6a034b5cbb17f85b3eea2f601c7a691805
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.