Multiple buffer overflows in the (1) dbm_open function, as used in ndbm and dbm, and the (2) dbminit function in Solaris 2.6 through 9 allow local users to gain root privileges via long arguments to Xsun or other programs that use these functions.
https://exchange.xforce.ibmcloud.com/vulnerabilities/12379
http://www.securityfocus.com/bid/7991
http://www.securityfocus.com/bid/64758
http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
http://www.ciac.org/ciac/bulletins/n-108.shtml
http://sunsolve.sun.com/search/document.do?assetkey=1-26-55420-1