JLSEC-2026-2372: A (D)TLS 1.2 client can accept a ChangeCipherSpec message before it has sent its...
A (D)TLS 1.2 client can accept a ChangeCipherSpec message before it has sent its ClientKeyExchange. No master secret has been derived at that point, so the client installs read keys derived from a known (deterministic) key and checks the server's Finished against that same key. An out-of-order ChangeCipherSpec can therefore be used by an attacker to complete the handshake in place of the server and send data the client accepts as authentic. The client's own traffic still uses correctly derived keys, so the attacker cannot read it, and the genuine server never completes the handshake. DTLS 1.2 clients are exposed because a datagram read can deliver the out-of-order records on its own. TLS 1.2 clients are exposed when the application supplies received bytes with wolfSSLinject() or enables read ahead. For certificate suites, the attacker must be in a man-in-the-middle position. For PSK (Pre Shared Key) connections, any fake server can succeed without knowing the PSK.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which client configurations are exposed?
DTLS 1.2 clients are exposed because datagram delivery can isolate out-of-order records. TLS 1.2 clients are exposed when the application uses wolfSSL_inject() to supply received bytes or has read ahead enabled.
What attacker position is required for certificate-based and PSK connections?
For certificate cipher suites, the attacker must be in a man-in-the-middle position. For PSK connections, a fake server can complete the attack without knowing the PSK.
Can the attacker read or alter the client's outbound traffic?
The client's own traffic continues to use correctly derived keys, so the attacker cannot read it. The attacker can instead impersonate the server during the handshake and send data that the client accepts as authentic.