CVE-2023-3326: Network authentication attack via pam_krb5
CVE-2023-3326 affects 90 listed versions of FreeBSD in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
FreeBSD
90 of 250 listed versions are affected. Fixed in 13.2-RELEASE-p1, 13.1-RELEASE-p8, 12.4-RELEASE-p3. The newest release, 15.1-p7, is not affected.
13.2 13.1-p7 13.1-p6 13.1-p5 13.1-p4 13.1-p3 13.1-p2 13.1-p1 13.1-b2-p2 13.1-b1-p1 13.1 12.4-p2 12.4-p1 12.4 12.3-p12 12.3-p11 12.3-p10 12.3-p9 12.3-p8 12.3-p7 12.3-p6 12.3-p5 12.3-p4 12.3-p3 12.3-p2 12.3-p1 12.3 12.2-p15 12.2-p14 12.2-p13 12.2-p12 12.2-p11 12.2-p10 12.2-p9 12.2-p8 12.2-p7 12.2-p6 12.2-p5 12.2-p4 12.2-p3 12.2-p2 12.2-p1 12.1-p13 12.1-p12 12.1-p11 12.1-p10 12.1-p9 12.1-p8 12.1-p7 12.1-p6 12.1-p5 12.1-p4 12.1-p3 12.1-p2 12.1-p1 12.1 12.0-p13 12.0-p12 12.0-p11 12.0-p10 and 30 more
What it is
pam_krb5 authenticates a user by essentially running kinit with the password, getting a ticket-granting ticket (tgt) from the Kerberos KDC (Key Distribution Center) over the network, as a way to verify the password. However, if a keytab is not provisioned on the system, pam_krb5 has no way to validate the response from the KDC, and essentially trusts the tgt provided over the network as being valid. In a non-default FreeBSD installation that leverages pam_krb5 for authentication and does not have a keytab provisioned, an attacker that is able to control both the password and the KDC responses can return a valid tgt, allowing authentication to occur for any user on the system.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Freebsd on 22 June 2023. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2023-3326 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.