The vulnerability is caused due to a NULL-pointer dereference error when copying an octet string from a variable binding list. This can be exploited to cause a crash via a specially crafted SNMP SetRequest PDU sent to UDP port 162.
The Code
#!/usr/bin/python
import sys,os,socket
if len(sys.argv) < 3:
print "Usage: host,port"
sys.exit(0)