Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish TLS 1.2 CBC session to kTLS-enabled server
-
DeliveryEngineer TCP segmentation so first mbuf carries only 5-byte TLS header
-
ExploitSend crafted TLS CBC record
-
ExecutionTrigger iovec off-by-one in ktls_ocf_tls_cbc_decrypt()
-
PersistKernel reads uninitialized heap entries during HMAC computation
-
ImpactKernel panic and system crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
|
| Exploitation Conditions | All three conditions must hold simultaneously: (1) Kernel TLS (kTLS) must be enabled on the FreeBSD host - kTLS is an opt-in performance subsystem and is not active by default on all deployments; systems not using kTLS are entirely unaffected. (2) TLS 1.2 with a CBC cipher suite must be negotiated for the connection - TLS 1.3 sessions and TLS 1.2 sessions using non-CBC cipher suites (e.g., GCM, ChaCha20) do not invoke ktls_ocf_tls_cbc_decrypt() and are not vulnerable. (3) The remote TLS peer must control TCP segmentation such that the first mbuf of a TLS CBC record carries only the 5-byte TLS record header with no payload - this can be achieved by the peer manipulating its own TCP MSS advertisement or send-buffer behavior, or by an on-path network attacker fragmenting TCP segments. Exploitation is limited by: the opt-in nature of kTLS, the ongoing industry deprecation of TLS 1.2 CBC cipher suites, and the need to engineer a specific mbuf boundary condition that may not arise naturally in all TCP stack implementations. |
| Impact | The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N, score 3.3) conflicts materially with the CVE description: the description explicitly states a 'remote TLS peer' triggers the fault, implying AV:N rather than AV:L, and the stated outcome is a kernel panic, which is A:H not A:N. The I:L metric is unexplained by any detail in the description. This vector should not be trusted - independent assessment (see assessed_cvss_vector) yields AV:N/AC:H/PR:N/UI:N with high availability impact, significantly raising real-world severity. EPSS at 0.15% (5th percentile) indicates negligible observed exploitation pressure. The vulnerability is not in CISA KEV and no POC is publicly known. Real-world risk is moderate for organizations running FreeBSD with kTLS enabled and TLS 1.2 CBC cipher suites: a successful attack produces an immediate hard system crash with no recovery short of reboot. The TCP segmentation control requirement adds non-trivial engineering complexity (AC:H) but is achievable by any TLS peer that controls its own TCP stack. FreeBSD's limited enterprise footprint relative to Linux constrains aggregate exposure. |
| Exploit ScenarioDerived | A remote attacker establishes a TLS 1.2 connection using a CBC cipher suite to a FreeBSD server with kTLS enabled, then crafts TCP segments such that the first segment of a TLS record delivers exactly the 5-byte TLS record header in its own mbuf with no payload bytes. When the server's kTLS stack invokes ktls_ocf_tls_cbc_decrypt() for this record, the off-by-one iovec indexing skips entries for the header mbuf while still incrementing the array index, leaving uninitialized slots that the HMAC computation subsequently reads, triggering a kernel panic and immediate system crash. No public POC is known, but the segmentation condition is achievable by any peer controlling its own TCP stack through MSS negotiation or selective send-buffer manipulation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
Kernel panic in FreeBSD's kernel TLS (kTLS) subsystem, specifically in ktls_ocf_tls_cbc_decrypt(), allows a remote TLS 1.2 peer to crash the kernel by exploiting an uninitialized iovec array bug during CBC record decryption. Affected versions span FreeBSD 14.3, 14.4, 15.0, and 15.1 prior to their respective patch levels, as confirmed by FreeBSD Security Advisory FreeBSD-SA-26:46.ktls. No public exploit code exists and EPSS is negligible at 0.15%, but the attack requires only that the remote peer engineer specific TCP segmentation - a condition achievable by the peer itself without any elevated privilege on the target system.
RemediationAI
Apply the patches published under FreeBSD Security Advisory FreeBSD-SA-26:46.ktls (https://security.freebsd.org/advisories/FreeBSD-SA-26:46.ktls.asc) by upgrading to FreeBSD 14.3-RELEASE-p16, 14.4-RELEASE-p7, 15.0-RELEASE-p11, or 15.1-RELEASE-p1 as applicable. As an immediate workaround, disabling kernel TLS entirely via the sysctl kern.ipc.tls.enable=0 eliminates the vulnerable code path with no security trade-off, though it forfeits kTLS performance offloading. Alternatively, configuring TLS endpoints to negotiate TLS 1.3 exclusively avoids the vulnerable TLS 1.2 CBC decryption path, since ktls_ocf_tls_cbc_decrypt() is not invoked for TLS 1.3 records; the trade-off is rejection of TLS 1.2 clients. Restricting inbound TLS connections to trusted peers at the network perimeter reduces exposure surface but does not eliminate the vulnerability if a trusted peer is compromised.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreeBSD's kernel TLS (kTLS) implementation offloads TLS record processing into the kernel for performance gains. The function ktls_ocf_tls_cbc_decrypt() builds an iovec array to pass buffer descriptors to OCF (the kernel's Open Crypto Framework) for TLS 1.2 CBC HMAC computation. A logic error in array construction increments the iovec index for every mbuf in the incoming chain - including mbufs that are intentionally skipped because they carry only the 5-byte TLS record header with no payload. Because the iovec array is heap-allocated without zeroing, these skipped index slots retain whatever stale data resided in kernel memory at allocation time. When OCF subsequently walks the iovec array during HMAC computation, it dereferences these uninitialized entries, triggering a kernel panic. The root cause is CWE-908 (Use of Uninitialized Resource). Affected products per CPE: cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:*, spanning FreeBSD 14.3-RELEASE before p16, 14.4-RELEASE before p7, 15.0-RELEASE before p11, and 15.1-RELEASE before p1.
Know when Freebsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Remote TLS peer drives the attack (AV:N); specific TCP segmentation control required (AC:H); no target-system authentication needed (PR:N); kernel panic is high availability impact (A:H); uninitialized kernel heap read adds low confidentiality risk (C:L).
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
2DescriptionCVE.org
When building the iovec array for a received TLS 1.2 CBC record, ktls_ocf_tls_cbc_decrypt() incremented the iovec index for every mbuf in the chain, including mbufs that were skipped because they contained only TLS header bytes. This left uninitialized entries in the iovec array. The iovec array was allocated without zeroing.
A remote TLS peer can cause the kernel to read from uninitialized iovec entries during HMAC computation, resulting in a kernel panic. The peer must be able to control TCP segmentation such that the first mbuf of a CBC record contains only the 5-byte TLS record header.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due
The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
EUVD-2026-62344
GHSA-c5hg-f3pf-qgxh
NVD
CVE.org
EPSS
VulDB
Exploit-DB