CVE-2007-5939

CVE-2007-5939 is a critical-severity vulnerability in Heimdal with a CVSS 2.0 base score of 10.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.

Key facts

Description

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.

Frequently asked questions

What is 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.
How severe is CVE-2007-5939?
CVE-2007-5939 has a CVSS 2.0 base score of 10.0, rated critical severity.
Is CVE-2007-5939 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (89th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-5939?
CVE-2007-5939 affects Heimdal. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2007-5939?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2007-5939 published?
CVE-2007-5939 was published on 2007-12-06 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Heimdal

All CVEs affecting Heimdal →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →