CVE-2019-20892 json
net-snmp before 5.8.1.pre1 has a double free in usm_free_usmStateReference in snmplib/snmpusm.c via an SNMPv3 GetBulk request.
published 2020-06-25 6 y ago modified 2026-06-17 4 mo ago also EUVD-2019-11428
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- net-snmp Debian 14, Debian 13, Debian 12 5.8+dfsg-3
debian advisories DEBIAN-CVE-2019-20892
- net-snmp Ubuntu 20.04 LTS 5.8+dfsg-2ubuntu2.1
ubuntu advisories UBUNTU-CVE-2019-20892
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
- net-snmp RHEL 8 1:5.8-12.el8_1.1
- net-snmp-libs RHEL 8 1:5.8-12.el8_1.1
- net-snmp-utils RHEL 8 1:5.8-12.el8_1.1
- net-snmp-agent-libs RHEL 8 1:5.8-12.el8_1.1
red hat advisories RHBA-2020:1376
- net-snmp Alpine 3.12, Alpine 3.11 5.8-r0
alpine advisories ALPINE-CVE-2019-20892
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-2019-20892 updated cvss 6.5
net-snmp: double free in usm_free_usmStateReference function in snmplib/snmpusm.c via an SNMPv3 GetBulk request
-
Red Hat Enterprise Linux AppStream (v. 8) net-snmp 5.8-12.el8_1.1, net-snmp-utils 5.8-12.el8_1.1, net-snmp-agent-libs 5.8-12.el8_1.1 Red Hat Enterprise Linux BaseOS (v. 8) net-snmp 5.8-12.el8_1.1, net-snmp-libs 5.8-12.el8_1.1fixed: vendor fix RHBA-2020:1376
-
Red Hat Enterprise Linux 5 net-snmp Red Hat Enterprise Linux 6 net-snmp, net-snmp-libs, net-snmp-perl, net-snmp-utils, net-snmp-python Red Hat Enterprise Linux 7 net-snmp, net-snmp-gui, net-snmp-libs, net-snmp-perl, net-snmp-utils, net-snmp-python, +2 more Red Hat Enterprise Linux 9 net-snmp, net-snmp-libs, net-snmp-perl, net-snmp-utils, python3-net-snmp, net-snmp-agent-libsnot affected: vulnerable code not present
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
Exploit prediction
2.31% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.launchpad.net https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1877027 referenced PoC, tagged "exploit" by a source, unverified
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1663027 referenced PoC, tagged "exploit" by a source, unverified
- sourceforge.net https://sourceforge.net/p/net-snmp/bugs/2923/ referenced PoC, tagged "exploit" by a source, unverified
- openwall.com http://www.openwall.com/lists/oss-security/2020/06/25/4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
github.com
/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9
patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2021.html
patch, third-party-advisory
-
bugs.launchpad.net
/ubuntu/+source/net-snmp/+bug/1877027
exploit, issue-tracking, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1663027
exploit, issue-tracking, third-party-advisory
-
sourceforge.net
/p/net-snmp/bugs/2923/
exploit, third-party-advisory
-
openwall.com
/lists/oss-security/2020/06/25/4
mailing-list, exploit, third-party-advisory
-
usn.ubuntu.com
/4410-1/
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202008-12
vendor-advisory, third-party-advisory
Sources
- CVE List CVE-2019-20892
- NVD CVE-2019-20892
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.