Remote code execution in net-snmp

Published: 2020-07-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-20892
Exploitation vector Network
Public exploit N/A
Vulnerable software
Server applications / Remote management servers, RDP, SSH


Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Double Free

EUVDB-ID: #VU29535

Risk: Medium


CVE-ID: CVE-2019-20892

CWE-ID: CWE-415 - Double Free

Exploit availability: No


The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing an SNMPv3 GetBulk request in usm_free_usmStateReference in snmplib/snmpusm.c in net-snmp. A remote attacker can pass specially crafted data to the application, trigger double free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Install updates from vendor's website.

Vulnerable software versions

Net-snmp: 3.0 - 5.8.pre3

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?