Buffer overflow in the addchar function in common/parseconf.c in upsd in Network UPS Tools (NUT) before 2.6.4 allows remote attackers to execute arbitrary code or cause a denial of service (electric-power outage) via a long string containing non-printable characters.
https://hermes.opensuse.org/messages/15514634
https://exchange.xforce.ibmcloud.com/vulnerabilities/75980
http://www.securityfocus.com/bid/53743
http://www.mandriva.com/security/advisories?name=MDVSA-2012:087
http://www.debian.org/security/2012/dsa-2484
http://trac.networkupstools.org/projects/nut/changeset/3633
http://secunia.com/advisories/50389
http://secunia.com/advisories/49348
http://networkupstools.org/docs/user-manual.chunked/apis01.html