CVE-2026-70405 json
snmp BER INTEGER decoder applies no size limit to attacker-supplied integer fields
published 2026-09-01 2 mo ago modified 2026-09-08 2 mo ago also EUVD-2026-69246
- cvss
- 6.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Erlang OTP 5.18.2.1, 5.20.2.2, 5.20.5, 27.3.4.17, 28.5.0.6, 29.0.6
- erlang Debian 13 1:27.3.4.1+dfsg-1+deb13u4
- erlang Debian 14 1:29.0.6+dfsg-1
debian advisories DEBIAN-CVE-2026-70405
- erlang Ubuntu 22.04 LTS 1:24.2.1+dfsg-1ubuntu0.7
- erlang Ubuntu 24.04 LTS 1:25.3.2.8+dfsg-1ubuntu4.7
- erlang Ubuntu 26.04 LTS 1:27.3.4.6+dfsg-1ubuntu0.1
- erlang Ubuntu Pro 14.04 LTS 1:16.b.3-dfsg-1ubuntu2.2+esm2
- erlang Ubuntu Pro 16.04 LTS 1:18.3-dfsg-1ubuntu3.1+esm3
- erlang Ubuntu Pro 18.04 LTS 1:20.2.2+dfsg-1ubuntu2+esm3
- erlang Ubuntu Pro 20.04 LTS 1:22.2.7+dfsg-1ubuntu0.5+esm2
ubuntu advisories UBUNTU-CVE-2026-70405
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- erlang27 hummingbird 1 27.3.4.17-1.hum1
- erlang27-et hummingbird 1 27.3.4.17-1.hum1
- erlang27-wx hummingbird 1 27.3.4.17-1.hum1
- erlang27-ftp hummingbird 1 27.3.4.17-1.hum1
- erlang27-ssh hummingbird 1 27.3.4.17-1.hum1
- erlang27-ssl hummingbird 1 27.3.4.17-1.hum1
- erlang27-asn1 hummingbird 1 27.3.4.17-1.hum1
- erlang27-edoc hummingbird 1 27.3.4.17-1.hum1
red hat advisories RHSA-2026:63160
- github.com/erlang/otp@aba0fe8 commit
- github.com/erlang/otp@e3be1cf commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-70405 updated cvss 5.3
erlang: snmp: Erlang/OTP snmp: Denial of Service via unbounded BER INTEGER length
-
Red Hat Hardened Images erlang27 27.3.4.17-1.hum1, erlang27-et 27.3.4.17-1.hum1, erlang27-wx 27.3.4.17-1.hum1, erlang27-ftp 27.3.4.17-1.hum1, erlang27-ssh 27.3.4.17-1.hum1, erlang27-ssl 27.3.4.17-1.hum1, +33 morefixed: vendor fix RHSA-2026:63160
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | 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 |
| CNA | 4.0 | 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- Erlang OTP
Classification
- Weakness
-
- CWE-1284 Improper Validation of Specified Quantity in Input
References
-
github.com
/erlang/otp/commit/aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d
patch
-
github.com
/erlang/otp/commit/e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa
patch
-
github.com
/erlang/otp/security/advisories/GHSA-q7cq-pfgf-5hr7
vendor-advisory, related
-
cna.erlef.org
/cves/CVE-2026-70405.html
related
-
osv.dev
/vulnerability/EEF-CVE-2026-70405
related
- erlang.org /doc/system/versions.html#order-of-versions
Sources
- CVE List CVE-2026-70405
- NVD CVE-2026-70405
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.