# 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 a…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v2.0, NVD) `AV:N/AC:M/Au:N/C:C/I:C/A:C`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Medium; Authentication: None; Confidentiality impact: Complete; Integrity impact: Complete; Availability impact: Complete
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 3.30% (percentile 89, 2026-11-26)
- **Published:** 2007-12-06T02:00:00.000Z
- **Modified:** 2026-11-06T17:19:45.163Z

## Who should check

- Anyone running n/a (versions: see the vendor advisory)

## Description

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.

## Affected and fixed versions

- n/a: see vendor advisory (nvd)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2007-5894. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2007-5894.md
Affected: n/a
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2007-5894 being exploited?

There is no confirmed exploitation: CVE-2007-5894 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2007-5894?

Critical: CVSS 9.3 (v2.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2007-5894?

n/a.

### Is there a fix for CVE-2007-5894?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2007-5894?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://secunia.com/advisories/29457>
- vendor: <http://www.novell.com/linux/security/advisories/suse_security_summary_report.html>
- vendor: <http://secunia.com/advisories/28636>
- other: <http://www.securityfocus.com/bid/26750>
- other: <http://wiki.rpath.com/Advisories:rPSA-2008-0112>
- other: <http://seclists.org/fulldisclosure/2007/Dec/0321.html>
- other: <http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0112>
- other: <http://www.securityfocus.com/archive/1/489883/100/0/threaded>
- other: <http://bugs.gentoo.org/show_bug.cgi?id=199205>
- other: <http://seclists.org/fulldisclosure/2007/Dec/0176.html>
- other: <http://osvdb.org/44333>
- other: <https://issues.rpath.com/browse/RPL-2012>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2007-5894>

HTML: <https://flawdb.com/CVE-2007-5894> · JSON: <https://flawdb.com/api/v1/entries/CVE-2007-5894>
