{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["snmp_pdus"],"packageName":"otp","packageURL":"pkg:sid/erlang.org/otp","product":"OTP","programFiles":["lib/snmp/src/misc/snmp_pdus.erl"],"programRoutines":[{"name":"snmp_pdus:dec_integer_notag/1"},{"name":"snmp_pdus:do_dec_integer_notag/2"},{"name":"snmp_pdus:dec_value/1"}],"vendor":"Erlang","versions":[{"lessThan":"17.0","status":"unknown","version":"0","versionType":"otp"},{"lessThan":"27.3.4.17","status":"affected","version":"17.0","versionType":"otp"},{"lessThan":"28.5.0.6","status":"affected","version":"28.0","versionType":"otp"},{"lessThan":"29.0.6","status":"affected","version":"29.0","versionType":"otp"}]},{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["snmp_pdus"],"packageName":"snmp","packageURL":"pkg:otp/snmp","product":"OTP","programFiles":["src/misc/snmp_pdus.erl"],"programRoutines":[{"name":"snmp_pdus:dec_integer_notag/1"},{"name":"snmp_pdus:do_dec_integer_notag/2"},{"name":"snmp_pdus:dec_value/1"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"lessThan":"4.25.1","status":"unknown","version":"0","versionType":"otp"},{"lessThan":"5.18.2.1","status":"affected","version":"4.25.1","versionType":"otp"},{"lessThan":"5.20.2.2","status":"affected","version":"5.19","versionType":"otp"},{"lessThan":"5.20.5","status":"affected","version":"5.20.3","versionType":"otp"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["snmp_pdus"],"packageName":"erlang/otp","packageURL":"pkg:github/erlang/otp","product":"OTP","programFiles":["lib/snmp/src/misc/snmp_pdus.erl"],"programRoutines":[{"name":"snmp_pdus:dec_integer_notag/1"},{"name":"snmp_pdus:do_dec_integer_notag/2"},{"name":"snmp_pdus:dec_value/1"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"changes":[{"at":"aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d","status":"unaffected"},{"at":"e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa","status":"unaffected"}],"lessThan":"*","status":"affected","version":"84adefa331c4159d432d22840663c38f155cd4c1","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"27.3.4.17","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"28.5.0.6","versionStartIncluding":"28.0","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"29.0.6","versionStartIncluding":"29.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Eric Meadows-Jönsson"},{"lang":"en","type":"finder","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"finder","value":"José Valim"},{"lang":"en","type":"remediation developer","value":"Konrad Pietrzak / Ericsson"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>\n<p><code>snmp_pdus:dec_integer_notag/1</code> defaults its size limit to <code>infinity</code>, and <code>do_dec_integer_notag/2</code> 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 <code>dec_integer_notag/2</code> exists but is reached from only one call site, <code>dec_snmp_version/1</code>, 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 <code>dec_value/1</code> 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.</p>\n<p>This issue affects OTP from OTP&nbsp;17.0 before OTP&nbsp;27.3.4.17, from OTP&nbsp;28.0 before OTP&nbsp;28.5.0.6, and from OTP&nbsp;29.0 before OTP&nbsp;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&nbsp;17.0, corresponding to snmp before 4.25.1, is affected is unknown.</p>"},{"base64":false,"type":"text/markdown","value":"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.\n\n`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.\n\nThis 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."}],"value":"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.\n\nsnmp_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.\n\nThis 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."}],"impacts":[{"capecId":"CAPEC-231","descriptions":[{"lang":"en","value":"CAPEC-231 Oversized Serialized Data Payloads"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1284","description":"CWE-1284 Improper Validation of Specified Quantity in Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-01T14:50:34.263Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/erlang/otp/security/advisories/GHSA-q7cq-pfgf-5hr7"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-70405.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-70405"},{"tags":["x_version-scheme"],"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"tags":["patch"],"url":"https://github.com/erlang/otp/commit/aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d"},{"tags":["patch"],"url":"https://github.com/erlang/otp/commit/e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa"}],"source":{"discovery":"EXTERNAL"},"title":"snmp BER INTEGER decoder applies no size limit to attacker-supplied integer fields"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-70405","datePublished":"2026-09-01T14:50:34.263Z","dateReserved":"2026-08-06T11:45:02.140Z","dateUpdated":"2026-09-01T14:50:34.263Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}