Buffer overflow in inet_server.cpp in (1) fb_inet_server and (2) fbserver in Firebird 1.5.2.4731 allows local users to gain privileges via a long value of the -p argument.
https://exchange.xforce.ibmcloud.com/vulnerabilities/25282
http://www.securityfocus.com/archive/1/427480/100/0/threaded
http://lists.grok.org.uk/pipermail/full-disclosure/2006-March/043546.html