| Name | CVE-2007-5901 | 
| Description | Use-after-free vulnerability in the gss_indicate_mechs function in lib/gssapi/mechglue/g_initialize.c in MIT Kerberos 5 (krb5) has unknown impact and attack vectors.  NOTE: this might be the result of a typo in the source code. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 454974 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| krb5 (PTS) | bullseye | 1.18.3-6+deb11u5 | fixed | 
|  | bullseye (security) | 1.18.3-6+deb11u7 | fixed | 
|  | bookworm | 1.20.1-2+deb12u4 | fixed | 
|  | bookworm (security) | 1.20.1-2+deb12u2 | fixed | 
|  | forky, sid, trixie | 1.21.3-5 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| krb5 | source | (unstable) | 1.6.dfsg.4~beta1-1 | unimportant |  | 454974 | 
Notes
Not exploitable in real-world circumstances:
http://mailman.mit.edu/pipermail/kerberos/2007-December/012717.html