Off-by-one error in the sql_error function in sql_unixodbc.c in FreeRADIUS 1.0.2.5-5, and possibly other versions including 1.0.4, might allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code by causing the external database query to fail. NOTE: this single issue is part of a larger-scale disclosure, originally by SUSE, which reported multiple issues that were disputed by FreeRADIUS. Disputed issues included file descriptor leaks, memory disclosure, LDAP injection, and other issues. Without additional information, the most recent FreeRADIUS report is being regarded as the authoritative source for this CVE identifier.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10449
https://exchange.xforce.ibmcloud.com/vulnerabilities/22211
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167676
http://wwwnew.mandriva.com/security/advisories?name=MDKSA-2006:066
http://www.securityfocus.com/bid/14775
http://www.freeradius.org/security/20050909-vendor-sec.txt
http://www.freeradius.org/security/20050909-response-to-suse.txt
http://www.debian.org/security/2006/dsa-1089
http://secunia.com/advisories/20461
http://secunia.com/advisories/19811
http://secunia.com/advisories/19518
http://secunia.com/advisories/19497