CVE-2007-5894: The reply function in ftpd.c in the gssftp ftpd in MIT Kerberos 5 (krb5) does not initialize the length variable when auth_type has a cer…

CVE-2007-5894 affects 36 listed versions of MIT krb5 in the Dawnsentry catalogue.

9.3CVSS critical
None knownexploitation
3%EPSS (next 30 days)
6 December 2007published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

MIT krb5

36 of 117 listed versions are affected. Fixed in 1.6.4. The newest release, 1.22.3, is not affected.

1.6.3_kdc 1.6.3 1.6.2 1.6.1 1.6 1.5.3 1.5.2 1.5.1 1.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2 1.1.1 1.1 1.0.7 1.0.6 1.0.3 1.0

What it is

The reply function in ftpd.c in the gssftp ftpd in MIT Kerberos 5 (krb5) does not initialize the length variable when auth_type has a certain value, which has unknown impact and remote authenticated attack vectors. NOTE: the original disclosure misidentifies the conditions under which the uninitialized variable is used. NOTE: the vendor disputes this issue, stating " The 'length' variable is only uninitialized if 'auth_type' is neither the 'KERBEROS_V4' nor 'GSSAPI'; this condition cannot occur in the unmodified source code.

AV:N/AC:M/Au:N/C:C/I:C/A:C (NVD)

Published by MITRE on 6 December 2007. Last changed 6 November 2026.

Sources

Check one version you run: look CVE-2007-5894 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.