Description
Improper Validation of Specified Quantity in Input vulnerability in Erlang/OTP snmp allows a remote attacker to degrade availability by sending an SNMP message containing a BER INTEGER whose length field is arbitrarily large.

snmp_pdus:dec_integer_notag/1 defaults its size limit to infinity, and do_dec_integer_notag/2 then accumulates the value across every declared byte with a recursive shift and bitwise or. Work grows superlinearly in the declared length because each operation acts on a progressively larger bignum. The size-limited variant dec_integer_notag/2 exists but is reached from only one call site, dec_snmp_version/1, which bounds the version field to ten bytes; the request identifier, error status and index, generic and specific trap fields, engine boots and time, and every varbind value decoded by dec_value/1 all use the unbounded form. The decode runs before the PDU is processed, so no valid request is required beyond what the deployment demands to accept the message at all.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to snmp from 4.25.1 before 5.18.2.1, from 5.19 before 5.20.2.2, and from 5.20.3 before 5.20.5. Whether OTP before OTP 17.0, corresponding to snmp before 4.25.1, is affected is unknown.
Published: 2026-09-01
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch Immediately
AI Analysis

Impact

The SNMP BER INTEGER decoder in Erlang/OTP does not enforce a size limit on the length field of integer values, which is a CWE-1284: Improper Validation of Specified Quantity in Input weakness. An attacker can send an SNMP packet with an integer field whose length field is arbitrarily large, causing the decoder to allocate and manipulate an ever‑growing big integer. This results in excessive CPU and memory consumption, eventually exhausting system resources and forcing the SNMP service to restart or crash, thereby denying availability to legitimate users.

Affected Systems

The issue exists in Erlang/OTP releases prior to OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, which correspond to SNMP 4.25.1–5.18.2.1, 5.19–5.20.2.2, and 5.20.3–5.20.5, respectively. OTP releases before 17.0 (SNMP before 4.25.1) may also be affected, but this is not confirmed.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity. The exploitability is remote; any host that exposes an SNMP service over the network can be targeted without authentication. Since the vulnerability is triggered before request validation, a malicious SNMP client can send a single large integer field to trigger resource exhaustion. EPSS is not available and the vulnerability is not listed in CISA's KEV catalog, but the impact on availability could be significant in high‑traffic or mission‑critical environments.

Generated by OpenCVE AI on September 1, 2026 at 17:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Erlang/OTP to the patched release (OTP 27.3.4.17, OTP 28.5.0.6, or OTP 29.0.6 or newer).
  • Restrict SNMP exposure to trusted hosts using firewall rules or SNMP configuration, limiting connections to internal networks only.
  • Implement network monitoring to detect unusually large SNMP integer fields and block or quarantine suspicious traffic, or apply custom packet filtering to reject packets exceeding realistic size limits.

Generated by OpenCVE AI on September 1, 2026 at 17:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 08:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Erlang erlang/otp
Erlang otp
Vendors & Products Erlang erlang/otp
Erlang otp

Tue, 01 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Description Improper Validation of Specified Quantity in Input vulnerability in Erlang/OTP snmp allows a remote attacker to degrade availability by sending an SNMP message containing a BER INTEGER whose length field is arbitrarily large. snmp_pdus:dec_integer_notag/1 defaults its size limit to infinity, and do_dec_integer_notag/2 then accumulates the value across every declared byte with a recursive shift and bitwise or. Work grows superlinearly in the declared length because each operation acts on a progressively larger bignum. The size-limited variant dec_integer_notag/2 exists but is reached from only one call site, dec_snmp_version/1, which bounds the version field to ten bytes; the request identifier, error status and index, generic and specific trap fields, engine boots and time, and every varbind value decoded by dec_value/1 all use the unbounded form. The decode runs before the PDU is processed, so no valid request is required beyond what the deployment demands to accept the message at all. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to snmp from 4.25.1 before 5.18.2.1, from 5.19 before 5.20.2.2, and from 5.20.3 before 5.20.5. Whether OTP before OTP 17.0, corresponding to snmp before 4.25.1, is affected is unknown.
Title snmp BER INTEGER decoder applies no size limit to attacker-supplied integer fields
First Time appeared Erlang
Erlang erlang\/otp
Weaknesses CWE-1284
CPEs cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
Vendors & Products Erlang
Erlang erlang\/otp
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Erlang Erlang/otp Erlang\/otp Otp
cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-09-08T01:08:55.059Z

Reserved: 2026-08-06T11:45:02.140Z

Link: CVE-2026-70405

cve-icon Vulnrichment

Updated: 2026-09-01T18:10:04.295Z

cve-icon NVD

Status : Deferred

Published: 2026-09-01T15:17:24.193

Modified: 2026-09-08T01:17:52.940

Link: CVE-2026-70405

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T17:15:05Z

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input