Description
net-snmp before 5.8.1.pre1 has a double free in usm_free_usmStateReference in snmplib/snmpusm.c via an SNMPv3 GetBulk request. NOTE: this affects net-snmp packages shipped to end users by multiple Linux distributions, but might not affect an upstream release.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | net-snmp | 5.8+dfsg-3 | — |
| Debian 13 | net-snmp | 5.8+dfsg-3 | — |
| Debian 12 | net-snmp | 5.8+dfsg-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | net-snmp | 5.8+dfsg-2ubuntu2.1 | USN-4410-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | net-snmp +4 | 1:5.8-12.el8_1.1 | RHBA-2020:1376 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.12 | net-snmp | 5.8-r0 | — |
| Alpine v3.11 | net-snmp | 5.8-r0 | — |
Advisories 6
- RHBA-2020:1376 Red Hat Bug Fix Advisory: net-snmp bug fix and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-4410-1 net-snmp vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- WID-SEC-2025-0225 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2025
- WID-SEC-2025-1693 Net-SNMP: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jul 31, 2025
- VDE-2022-010 PHOENIX CONTACT: Multiple Linux component vulnerabilities fixed in latest AXC F x152 LTS release CERT@VDE · May 22, 2025
- WID-SEC-2024-1591 Juniper JUNOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2024
References
- https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1877027
- https://bugzilla.redhat.com/show_bug.cgi?id=1663027
- https://sourceforge.net/p/net-snmp/bugs/2923/
- https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9
- [oss-security] 20200625 [cve-request@...re.org: Re: [scr916814] net-snmp - Perhaps only unreleased development versions; fix appears to be in v5.8.1.pre1] mailing-list
- USN-4410-1 vendor-advisory
- GLSA-202008-12 vendor-advisory
- https://www.oracle.com/security-alerts/cpujan2021.html