Stack-based buffer overflow in Firebird 2.1.3 through 2.1.5 before 18514, and 2.5.1 through 2.5.3 before 26623, on Windows allows remote attackers to execute arbitrary code via a crafted packet to TCP port 3050, related to a missing size check during extraction of a group number from CNCT information.
https://security.gentoo.org/glsa/201512-11
http://www.securityfocus.com/bid/58393
http://www.debian.org/security/2013/dsa-2648
http://www.debian.org/security/2013/dsa-2647
http://lists.opensuse.org/opensuse-security-announce/2013-03/msg00039.html
http://lists.opensuse.org/opensuse-security-announce/2013-03/msg00036.html