CVE-2023-3326 in Freebsd
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 f...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | 12.4 13.1 13.2 < 12.4 ≥ 13.0, < 13.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-3326 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-057995-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-06-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-287: Improper Authentication
Software does not prove or insufficiently proves that the user is who they claim to be.
CWE-303: CWE-303
Related attack patterns (CAPEC)
CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-287
CAPEC-633 Token Impersonation via CWE-287
CAPEC-650 Upload a Web Shell to a Web Server via CWE-287
CAPEC-90 Reflection Attack in Authentication Protocol via CWE-303
CAPEC-194 Fake the Source of Data via CWE-287
Show all 11
CAPEC-593 Session Hijacking via CWE-287
CAPEC-22 Exploiting Trust in Client via CWE-287
CAPEC-94 Adversary in the Middle (AiTM) via CWE-287
CAPEC-114 Authentication Abuse via CWE-287
CAPEC-115 Authentication Bypass via CWE-287
CAPEC-151 Identity Spoofing via CWE-287
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2023-3326 affects pam_krb5, a Pluggable Authentication Modules (PAM) module for Kerberos authentication. If a keytab is not provisioned, the module trusts the ticket-granting ticket (TGT) received from the Kerberos Key Distribution Center (KDC) without validation, potentially allowing an attacker to impersonate a user.
An attacker could intercept the network communication between the system and the KDC, modify the TGT, and send it back to the system. Since pam_krb5 does not validate the TGT without a keytab, the system would accept the modified TGT as valid, leading to unauthorized access.
Questions
What is CVE-2023-3326?
CVE-2023-3326 affects pam_krb5, a Pluggable Authentication Modules (PAM) module for Kerberos authentication. If a keytab is not provisioned, the module trusts the ticket-granting ticket (TGT) received from the Kerberos Key Distribution Center (KDC) without validation, potentially allowing an attacker to impersonate a user.
What is the CVSS score for CVE-2023-3326?
CVE-2023-3326 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.3%.
Is CVE-2023-3326 actively exploited?
No confirmed active exploitation of CVE-2023-3326 as of 2026-09-25.
How do I remediate CVE-2023-3326?
Priority: IMMEDIATE. Advisory: https://security.FreeBSD.org/advisories/FreeBSD-SA-23:04.pam_krb5.asc PSIRT: [email protected]
What systems are affected by CVE-2023-3326?
CVE-2023-3326 affects Freebsd Freebsd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.