CVE-2026-81019 is a critical nonce reuse vulnerability in wolfProvider's TLS 1.2 AES-GCM implementation. The root cause is a fundamental mismatch between how TLS 1.2 constructs AEAD nonces and what the wrapper API exposed to callers. In TLS 1.2, the 12-byte AES-GCM nonce consists of a 4-byte explicit component that must be unique per record (transmitted in the clear) combined with an 8-byte implicit component derived from the master secret. wolfProvider generated the explicit nonce once at key-setup time and provided no mechanism to update it for subsequent records. Every encrypted record under a given session key reused the same nonce — this is not a counter rollover bug or a regression; it's an API that was designed without encoding the per-record uniqueness invariant that makes AES-GCM secure in TLS 1.2.
The cryptographic consequence is severe. AES-GCM's GHASH function is deterministic: given the same key and nonce, the same keystream is produced. When two different plaintexts are encrypted under identical key+nonce, XORing the ciphertexts reveals the XOR of the plaintexts. A single known plaintext record (e.g., an HTTP GET for a predictable resource) exposes the entire session's keystream — all past and future records under that key are trivially decryptable. This mirrors the RC4 bias problem but with deterministic ciphertext exposure rather than statistical bias.
DTLS 1.2 compounds this significantly. UDP-based DTLS treats packet loss and reordering as normal operation, requiring retransmission of the same plaintext under the same key and nonce. The protocol's own reliability mechanism creates the collision condition that the implementation should have prevented. An attacker observing DTLS traffic doesn't need to inject packets — they simply waits for normal retransmissions and gains the plaintext material needed to recover the keystream.
The fix in version 1.2.2 presumably adds per-record nonce derivation, but the deeper failure is architectural: the wrapper abstracted away the TLS 1.2 record layer's state machine entirely. If your integration uses wolfProvider for TLS 1.2 or DTLS 1.2 AES-GCM, treat any session under the affected version as compromised — the keystream exposure is retroactive. Audit logs for plaintext-correlated traffic patterns, and prioritize updating any long-lived connections (VPN tunnels, interactive sessions) that may have transmitted sensitive data. For defenders, the immediate action is version verification against 1.2.2 and a risk assessment of any historical sessions that might have used the vulnerable implementation.