CVE-2026-70405
snmp BER INTEGER decoder applies no size limit to attacker-supplied integer fields
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, OTP 28.5.0.6, and OTP 29.0.6, corresponding to snmp from 4.25.1 before 5.18.2.1, 5.20.2.2, and 5.20.5. Whether OTP before OTP 17.0, corresponding to snmp before 4.25.1, is affected is unknown.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.710% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.3 · published by EEFCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:59:05.915Z
CVSS 4.0 · 6.3 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T16:52:52.101Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:05.915Z | CVE Program |
| epss | verified | 2026-11-19T16:04:54.501Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:52:52.101Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:59:05.915Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:05.915Z | CVE Program |
Affected versions and configuration
Erlang OTP; modules: snmp_pdus; default status: unknown: 17.0 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.17","status":"unaffected"},{"at":"28.5.0.6","status":"unaffected"},{"at":"29.0.6","status":"unaffected"}] Erlang OTP; modules: snmp_pdus; default status: unknown: 4.25.1 to < * [affected; scheme: otp]; changes: [{"at":"5.18.2.1","status":"unaffected"},{"at":"5.20.2.2","status":"unaffected"},{"at":"5.20.5","status":"unaffected"}] Erlang OTP; modules: snmp_pdus; default status: unknown: 84adefa331c4159d432d22840663c38f155cd4c1 to < * [affected; scheme: git]; changes: [{"at":"aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d","status":"unaffected"},{"at":"e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa","status":"unaffected"}]; aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d to < * [unaffected; scheme: git]; e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa to < * [unaffected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "erlang",
"debian": "https://tracker.debian.org/pkg/erlang",
"source": "https://ubuntu.com/security/cve?package=erlang",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=erlang",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:29.0.6+dfsg-1",
"release_codename": "upstream"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:20.2.2+dfsg-1ubuntu2+esm3",
"release_codename": "bionic"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:22.2.7+dfsg-1ubuntu0.5+esm2",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:24.2.1+dfsg-1ubuntu0.7",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:25.3.2.8+dfsg-1ubuntu4.7",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:27.3.4.6+dfsg-1ubuntu0.1",
"release_codename": "resolute"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:16.b.3-dfsg-1ubuntu2.2+esm2",
"release_codename": "trusty"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:18.3-dfsg-1ubuntu3.1+esm3",
"release_codename": "xenial"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"snmp_pdus"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.17",
"status": "unaffected"
},
{
"at": "28.5.0.6",
"status": "unaffected"
},
{
"at": "29.0.6",
"status": "unaffected"
}
],
"version": "17.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"lib/snmp/src/misc/snmp_pdus.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "snmp_pdus:dec_integer_notag/1"
},
{
"name": "snmp_pdus:do_dec_integer_notag/2"
},
{
"name": "snmp_pdus:dec_value/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"snmp_pdus"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "5.18.2.1",
"status": "unaffected"
},
{
"at": "5.20.2.2",
"status": "unaffected"
},
{
"at": "5.20.5",
"status": "unaffected"
}
],
"version": "4.25.1",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:otp/snmp?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"packageName": "snmp",
"programFiles": [
"src/misc/snmp_pdus.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "snmp_pdus:dec_integer_notag/1"
},
{
"name": "snmp_pdus:do_dec_integer_notag/2"
},
{
"name": "snmp_pdus:dec_value/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"snmp_pdus"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d",
"status": "unaffected"
},
{
"at": "e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa",
"status": "unaffected"
}
],
"version": "84adefa331c4159d432d22840663c38f155cd4c1",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"lib/snmp/src/misc/snmp_pdus.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "snmp_pdus:dec_integer_notag/1"
},
{
"name": "snmp_pdus:do_dec_integer_notag/2"
},
{
"name": "snmp_pdus:dec_value/1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-70405",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-01T18:09:46.379754Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-01T18:10:13.162Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-note | upstream / upstream | erlang | Not a distribution channel | 1:29.0.6+dfsg-1 | Official record |
| distribution-package | Ubuntu / bionic | erlang | esm-infra | 1:20.2.2+dfsg-1ubuntu2+esm3 | Official record |
| distribution-package | Ubuntu / focal | erlang | esm-infra | 1:22.2.7+dfsg-1ubuntu0.5+esm2 | Official record |
| distribution-package | Ubuntu / jammy | erlang | security | 1:24.2.1+dfsg-1ubuntu0.7 | Official record |
| distribution-package | Ubuntu / noble | erlang | security | 1:25.3.2.8+dfsg-1ubuntu4.7 | Official record |
| distribution-package | Ubuntu / resolute | erlang | security | 1:27.3.4.6+dfsg-1ubuntu0.1 | Official record |
| distribution-package | Ubuntu / trusty | erlang | esm-infra-legacy | 1:16.b.3-dfsg-1ubuntu2.2+esm2 | Official record |
| distribution-package | Ubuntu / xenial | erlang | esm-infra-legacy | 1:18.3-dfsg-1ubuntu3.1+esm3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T16:52:52.101ZArchived source JSON
Source publication: 2026-09-01T15:17:00.000Z
Source modification: 2026-11-18T10:43:05.421ZDocument fingerprint
3bea82ddb82a2efaff19068319f9c582502c8ffb637adc5eea36f47c2794f260 - CVE ProgramConsulted: 2026-11-19T12:59:05.915ZArchived source JSON
Source publication: 2026-09-01T14:50:34.263Z
Source modification: 2026-11-19T08:34:55.986ZDocument fingerprint
9dcd99871479293c65e5f4e8b0a89c1ddea49d5ba35e99969dc75c5a583f09ce - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:54.501ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
e15d142fc562fc676e45e0e74f04a724210a64d0886f92dbe1f2de8991097e5e
Official status history
- UNKNOWN → PUBLISHED · · evidence