CVE-2007-5939

The gss_userok function in appl/ftp/ftpd/gss_userok.c in Heimdal 0.7.2 does not allocate memory for the ticketfile pointer before calling free, which allows remote attackers to have an unknown impact via an invalid username. NOTE: the vulnerability was originally reported for ftpd.c, but this is incorrect.

Published: 2007-12-06 Last update: 2026-04-23 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2007-5939 is rated Moderate Risk (63.6/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.66%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2007-5939

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-03-30 6.22% 1.66% -4.56%
2 2025-03-29 1.66% 6.22% +4.56%
3 2025-03-19 1.66%

Full EPSS history (12 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2007-5939

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
10.0 2.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
10.0 10.0 [email protected]

Weakness enumeration for CVE-2007-5939

OS Trackers for CVE-2007-5939

vendor priority summary link
debian unimportant CVE-2007-5939 unimportant priority: Debian including 1 source packages (heimdal), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2007-5939
ubuntu low CVE-2007-5939 low priority: Ubuntu including 1 source packages (heimdal), 12 status rows across 12 suites (dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, karmic, lucid, maverick, natty, upstream): not-affected 7, ignored 4, needed 1. https://ubuntu.com/security/CVE-2007-5939

Affected software / configurations for CVE-2007-5939

Vendor Product Version Raw CPE
heimdal heimdal 0.7.2 cpe:2.3:a:heimdal:heimdal:0.7.2:*:*:*:*:*:*:*

References for CVE-2007-5939

cvelogic Threat Intelligence