{"id":"CVE-2023-3326","aliases":["DEBIAN-CVE-2023-3326","EUVD-2023-43994","GHSA-vjhp-527w-c5vj","UBUNTU-CVE-2023-3326"],"status":"published","title":"Network authentication attack via pam_krb5","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01098,"percentile":0.65864,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-287","CWE-303"],"published":"2023-06-22T16:37:51Z","modified":"2026-10-26T18:02:41Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11-1","4.11-1.1","4.11-2"]},{"source":"osv","ecosystem":"Debian:13","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11-2"]},{"source":"osv","ecosystem":"Debian:14","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.6-2","4.6-2ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7-2","4.7-2ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"sssd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.5-2","1.13.1-2","1.13.2-1","1.13.3-1","1.13.4-1","1.13.4-1ubuntu1","1.13.4-1ubuntu1.1","1.13.4-1ubuntu1.2","1.13.4-1ubuntu1.5","1.13.4-1ubuntu1.6","1.13.4-1ubuntu1.7","1.13.4-1ubuntu1.8","1.13.4-1ubuntu1.9","1.13.4-1ubuntu1.10","1.13.4-1ubuntu1.11","1.13.4-1ubuntu1.12","1.13.4-1ubuntu1.13","1.13.4-1ubuntu1.14","1.13.4-1ubuntu1.15","1.13.4-1ubuntu1.15+esm1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7-4","4.8-1","4.8-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"sssd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.3-2ubuntu1","1.15.3-3ubuntu1","1.16.0-5ubuntu1","1.16.0-5ubuntu2","1.16.1-1ubuntu1","1.16.1-1ubuntu1.1","1.16.1-1ubuntu1.2","1.16.1-1ubuntu1.3","1.16.1-1ubuntu1.4","1.16.1-1ubuntu1.5","1.16.1-1ubuntu1.6","1.16.1-1ubuntu1.7","1.16.1-1ubuntu1.8","1.16.1-1ubuntu1.8+esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8-2","4.8-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"sssd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-4ubuntu1","2.2.2-1","2.2.2-1ubuntu1","2.2.3-1.1ubuntu1","2.2.3-2","2.2.3-3","2.2.3-3ubuntu0.1","2.2.3-3ubuntu0.2","2.2.3-3ubuntu0.3","2.2.3-3ubuntu0.4","2.2.3-3ubuntu0.6","2.2.3-3ubuntu0.7","2.2.3-3ubuntu0.8","2.2.3-3ubuntu0.9","2.2.3-3ubuntu0.10","2.2.3-3ubuntu0.11","2.2.3-3ubuntu0.12","2.2.3-3ubuntu0.13","2.2.3-3ubuntu0.13+esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9-2build1","4.11-1","4.11-1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"sssd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-2ubuntu4","2.5.2-4ubuntu1","2.5.2-4ubuntu3","2.5.2-4ubuntu4","2.6.1-1ubuntu3","2.6.3-1ubuntu3","2.6.3-1ubuntu3.1","2.6.3-1ubuntu3.2","2.6.3-1ubuntu3.3","2.6.3-1ubuntu3.4","2.6.3-1ubuntu3.5","2.6.3-1ubuntu3.6","2.6.3-1ubuntu3.8","2.6.3-1ubuntu3.9"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11-1build1","4.11-1build2","4.11-1build3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"sssd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.1-2ubuntu2","2.9.1-2ubuntu3","2.9.2-1ubuntu2","2.9.4-1ubuntu1","2.9.4-1.1ubuntu3","2.9.4-1.1ubuntu5","2.9.4-1.1ubuntu6","2.9.4-1.1ubuntu6.1","2.9.4-1.1ubuntu6.2","2.9.4-1.1ubuntu6.3","2.9.4-1.1ubuntu6.4","2.9.4-1.1ubuntu6.5","2.9.4-1.1ubuntu6.6","2.9.4-1.1ubuntu6.7","2.9.4-1.1ubuntu6.8"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"sssd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.1-2ubuntu4","2.10.1-2ubuntu5","2.10.1-2ubuntu5.1","2.10.1-2ubuntu5.2","2.10.1-2ubuntu5.3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11-2build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"sssd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.0-1ubuntu5","2.12.0-4ubuntu1","2.12.0-4ubuntu2","2.12.0-4ubuntu3","2.12.0-4ubuntu4"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libpam-krb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11-2","4.11-2build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"sssd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.1-2ubuntu5","2.10.1-2ubuntu7","2.12.0-1ubuntu3","2.12.0-1ubuntu4","2.12.0-1ubuntu5","2.12.0-1ubuntu5.1","2.12.0-1ubuntu5.2","2.12.0-1ubuntu5.3","2.12.0-1ubuntu5.4","2.12.0-1ubuntu5.5"]}],"products":[{"vendor":"freebsd","product":"freebsd"}],"references":[{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-23:04.pam_krb5.asc","tags":["vendor-advisory","x_transferred","Mitigation","Vendor Advisory","advisory","report"]},{"url":"https://security.netapp.com/advisory/ntap-20230714-0005/","tags":["third-party-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-23:09.pam_krb5.asc","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3326"},{"url":"https://security.netapp.com/advisory/ntap-20230714-0005"},{"url":"https://github.com/advisories/GHSA-vjhp-527w-c5vj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-3326","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-3326","tags":["report"]},{"url":"https://seclists.org/oss-sec/2023/q2/245","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-3326","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-3326","title":"Network authentication attack via pam_krb5","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.\n","status":"published","published":"2023-06-22T16:37:51.36Z","modified":"2024-12-05T17:45:19.729Z","cwes":["CWE-303"],"updated_at":"2026-11-02T14:35:24.707957Z"}],"euvd":[{"id":"EUVD-2023-43994","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.\n","status":"published","published":"2023-06-22T16:37:51Z","modified":"2024-12-05T17:45:19Z","cvss":[{"version":"","score":0,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"none"}],"updated_at":"2026-11-03T00:04:39.661841Z"}],"ghsa":[{"id":"GHSA-vjhp-527w-c5vj","title":"pam_krb5 authenticates a user by essentially running kinit with the password, getting a ticket...","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.\n","status":"published","published":"2023-06-22T18:30:25Z","modified":"2024-04-04T05:07:50Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-287","CWE-303"],"updated_at":"2026-11-02T14:56:29.503716Z"}],"nvd":[{"id":"CVE-2023-3326","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.\n","status":"published","published":"2023-06-22T17:15:44.833Z","modified":"2026-06-17T06:13:49.523Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-303","CWE-287"],"updated_at":"2026-11-02T14:08:12.414559Z"}],"osv":[{"id":"CVE-2023-3326","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.\n","status":"published","published":"2023-06-22T17:15:44.833Z","modified":"2026-03-15T13:45:17.339402Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:32.116263Z"},{"id":"DEBIAN-CVE-2023-3326","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.","status":"published","published":"2023-06-22T17:15:44.833Z","modified":"2026-10-26T18:02:41.083394883Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:39.679062Z"},{"id":"UBUNTU-CVE-2023-3326","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.","status":"published","published":"2023-06-22T17:15:00Z","modified":"2026-10-17T12:56:05.978683988Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:54:20.997471Z"}]}}
