The csnmp_read_table function in snmp.c in the SNMP plugin in collectd before 5.6.3 is susceptible to a double free in a certain error case, which could lead to a crash (or potentially have other impact).
https://github.com/collectd/collectd/releases/tag/collectd-5.6.3
https://github.com/collectd/collectd/issues/2291
https://github.com/collectd/collectd/commit/d16c24542b2f96a194d43a73c2e5778822b9cb47