Erlang OTP denial of service in SNMP BER decoding
- Exploited
- No known exploitation
- Fix
- Fixed in 5.18.2.3, 27.3.4.20
- Who is exposed
- Not reported
Summary
Erlang/OTP's SNMP component can be forced to consume excessive CPU by a remote attacker, without logging in, who sends a specially crafted SNMP message containing an object identifier with a very long sub-identifier. The message is decoded before any authentication check, so the attacker can tie up the processor and block the SNMP process from handling other messages.
Written by a model
Original 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.
Who should check
Teams running Erlang/OTP snmp agents or managers on OTP 17.0 up to the fixed releases, where the SNMP UDP port is reachable by untrusted hosts.
“This issue affects OTP from OTP 17.0 before OTP 27.3.4.20”
What to do
Upgrade to a fixed version: 5.18.2.3, 27.3.4.20.
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.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-116225 (Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-116225 (entry last updated 2026-11-24):
Affected:
- Erlang OTP: from 4.25.1, fixed in 5.18.2.3
- Erlang OTP: from 17.0, fixed in 27.3.4.20
- Erlang OTP: version range not reported
Fixed versions: 5.18.2.3, 27.3.4.20.
Conditions (all must be true for the bug to be hit):
- Erlang/OTP from 17.0 before 27.3.4.20, 28.5.0.9, or 29.1.3 (snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, or 5.20.7). (source: https://cna.erlef.org/cves/CVE-2026-116225.html)
- The SNMP agent or manager is running and its UDP port is reachable by untrusted hosts. (source: https://github.com/erlang/otp/security/advisories/GHSA-9p2q-5p4x-rhpq)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
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. (source: https://cna.erlef.org/cves/CVE-2026-116225.html)
CISA KEV: CVE-2026-116225 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-116225 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/erlang/otp/security/advisories/GHSA-9p2q-5p4x-rhpq
- https://github.com/erlang/otp/commit/6f8c1044d17bfaa9112bf3cd471cec0d61e146ca
- https://github.com/erlang/otp/commit/8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f
- https://github.com/erlang/otp/commit/a1bfce6a034b5cbb17f85b3eea2f601c7a691805
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-116225
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-116225"}.Affected versions
- snmpFrom 4.25.1 · fixed in 5.18.2.3
- otpFrom 17.0 · fixed in 27.3.4.20
- erlang/otpVersion range not reported
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.7/10CVSS 8.7
- No patch0/5No signal
What would change the score
- Would score about 71 if added to CISA KEV
- Would score about 66 if CISA's SSVC rates exploitation active
- Would score about 31 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 9
| Kind | Source |
|---|---|
| Vendor advisory 2Establishes: Affected and fixed versions. | |
| Advisory | GitHub · erlang/otp · Advisory GHSA-9p2q-5p4x-rhpq |
| Link | erlang.org · doc/system/versions.html#order-of-versions |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-116225 |
| Record | NVD · CVE-2026-116225 |
| Other links 5 | |
| Patch | GitHub · erlang/otp · Commit 6f8c1044 |
| Patch | GitHub · erlang/otp · Commit 8c5cd9bc |
| Patch | GitHub · erlang/otp · Commit a1bfce6a |
| Link | cna.erlef.org · cves/CVE-2026-116225.html |
| Link | osv.dev · vulnerability/EEF-CVE-2026-116225 |
Questions about CVE-2026-116225
Is CVE-2026-116225 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The SNMP BER decoder handles object identifier sub-identifiers with quadratic CPU cost. A crafted SNMP message can make the agent or manager use excessive CPU, so it stops processing legitimate SNMP traffic. No authentication is needed.
Source: cna.erlef.org, github.com
Which versions are affected by CVE-2026-116225?
snmp: from 4.25.1 before 5.18.2.3. otp: from 17.0 before 27.3.4.20.
Source: cve.now feed data
Am I affected, and how do I check?
The issue affects Erlang/OTP from 17.0 before 27.3.4.20, 28.5.0.9, or 29.1.3, and the snmp application from 4.25.1 before 5.18.2.3, 5.20.2.4, or 5.20.7. The exposure requires the SNMP agent or manager to be running with its UDP port reachable by untrusted hosts. Check the installed OTP release and the snmp application version in an Erlang shell, for example with application:loaded_applications().
Source: cna.erlef.org, github.com
How do I fix CVE-2026-116225?
Upgrade OTP to 27.3.4.20 or snmp to 5.18.2.3 for the fix. The vendor also recommends OTP 28.5.0.9 or 29.1.3. Until upgrading, restrict access to the SNMP UDP ports to trusted management hosts.
Source: cna.erlef.org, github.com
Related
- CVE-2026-89422TLS 1.3 client skips server authentication when ServerHello carries an unsolicited pre_shared_key extension
- CVE-2026-124286TLS 1.2 Client Completes Handshake Without a Server Certificate
- CVE-2026-69664httpd parks a request worker indefinitely on a malformed chunk size sent after the headers
- CVE-2026-116382Attacker-controlled ESI headers cause persistent atom-table growth in `inets`
- CVE-2026-94200TLS 1.3 client ticket store crashed by NewSessionTicket with empty early_data extension in ssl
- CVE-2026-65634Superlinear CPU denial of service in Erlang/OTP ASN.1 OBJECT IDENTIFIER decoder
No corrections so far. Something wrong on this page? Report an error.