Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | freeradius | 1.0.5-1 | — |
| Debian 13 | freeradius | 1.0.5-1 | — |
| Debian 12 | freeradius | 1.0.5-1 | — |
| Debian 3.1 | freeradius | 1.0.2-4sarge1 | DSA-1089-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | freeradius +3 | 1.0.1-3.RHEL4.3 | RHSA-2006:0271 |
| RHEL 3 | freeradius | 1.0.1-2.RHEL3.2 | RHSA-2006:0271 |
Advisories 2
- RHSA-2006:0271 Red Hat Security Advisory: freeradius security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1089-1 freeradius - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- 14775 vdb-entry
- 20461 third-party-advisory
- http://www.freeradius.org/security/20050909-response-to-suse.txt
- 19811 third-party-advisory
- http://www.freeradius.org/security/20050909-vendor-sec.txt
- MDKSA-2006:066 vendor-advisory
- oval:org.mitre.oval:def:10449 vdb-entry signature
- DSA-1089 vendor-advisory
- 19497 third-party-advisory
- 16712 third-party-advisory
- RHSA-2006:0271 vendor-advisory
- freeradius-token-sqlunixodbc-dos(22211) vdb-entry
- 19518 third-party-advisory
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167676