Vulnerabilities / CVE-2023-3326

critical

CVE-2023-3326

pam_krb5 authenticates a user by essentially running kinit with the pa ...

Published Modified CWE 303, 287
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (low).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11libpam-krb5no fix listed
debian 12libpam-krb5no fix listed
debian 13libpam-krb5no fix listed
debian 14libpam-krb5no fix listed
echolibpam-krb5no fix listed
rapidfort debian 12libpam-krb5no fix listed
rapidfort debian 13libpam-krb5no fix listed
rapidfort ubuntu 20.04libpam-krb5, sssdno fix listed
rapidfort ubuntu 22.04libpam-krb5, sssdno fix listed
rapidfort ubuntu 24.04libpam-krb5, sssdno fix listed
ubuntu 18.04-ESMlibpam-krb5, sssdno fix listed
ubuntu 20.04-ESMlibpam-krb5, sssdno fix listed
Show all 25 entries from 16 sources
SourcePackageFixed in
debian 11libpam-krb5no fix listed
debian 12libpam-krb5no fix listed
debian 13libpam-krb5no fix listed
debian 14libpam-krb5no fix listed
echolibpam-krb5no fix listed
rapidfort debian 12libpam-krb5no fix listed
rapidfort debian 13libpam-krb5no fix listed
rapidfort ubuntu 20.04libpam-krb5no fix listed
rapidfort ubuntu 20.04sssdno fix listed
rapidfort ubuntu 22.04libpam-krb5no fix listed
rapidfort ubuntu 22.04sssdno fix listed
rapidfort ubuntu 24.04libpam-krb5no fix listed
rapidfort ubuntu 24.04sssdno fix listed
ubuntu 18.04-ESMlibpam-krb5no fix listed
ubuntu 18.04-ESMsssdno fix listed
ubuntu 20.04-ESMlibpam-krb5no fix listed
ubuntu 20.04-ESMsssdno fix listed
ubuntu 22.04libpam-krb5no fix listed
ubuntu 22.04sssdno fix listed
ubuntu 24.04libpam-krb5no fix listed
ubuntu 24.04sssdno fix listed
ubuntu 26.04libpam-krb5no fix listed
ubuntu 26.04sssdno fix listed
ubuntu 26.10libpam-krb5no fix listed
ubuntu 26.10sssdno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.