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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.80%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 2.0
- 10.0 HIGHAV:N/AC:L/Au:N/C:C/I:C/A:C
- EPSS
- 3.80% probability · 90th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- heimdal/heimdal
- Source
- cve@mitre.org
EPSS 3.8% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://bugs.gentoo.org/show_bug.cgi?id=199207
- http://marc.info/?l=full-disclosure&m=119704362903699&w=2
- http://osvdb.org/44750
- http://securitytracker.com/id?1019057
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:239
- http://www.securityfocus.com/bid/26758
- http://bugs.gentoo.org/show_bug.cgi?id=199207
- http://marc.info/?l=full-disclosure&m=119704362903699&w=2
- http://osvdb.org/44750
- http://securitytracker.com/id?1019057
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:239
- http://www.securityfocus.com/bid/26758
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.