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.
http://alioth.debian.org/tracker/?func=detail&aid=313636
http://networkupstools.org/docs/user-manual.chunked/apis01.html
http://secunia.com/advisories/49348
http://secunia.com/advisories/50389
http://trac.networkupstools.org/projects/nut/changeset/3633
http://www.debian.org/security/2012/dsa-2484
http://www.mandriva.com/security/advisories?name=MDVSA-2012:087
http://www.securityfocus.com/bid/53743