CVE-2026-81020: CWE-323 Reusing a Nonce, Key Pair in Encryption in wolfSSL Inc. wolfEngine
Description
wolfEngine versions up to 1.4.0 have a vulnerability in their AES-GCM implementation for TLS 1.2 and DTLS 1.2. The explicit 8-byte AES-GCM nonce is generated once per connection and not incremented per record, causing reuse of the key and nonce pair. This nonce reuse leaks the keystream and the GHASH authentication key, enabling attackers to forge authentication tags. AES-CCM, TLS 1.3, and non-TLS cipher uses are not affected. The vulnerability has a high severity with a CVSS score of 7.4.
CVSS v3.1
Score 7.4high
Affected software
wolfSSL Inc.
wolfEngine
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
wolfEngine before version 1.4.1 improperly handles the AES-GCM nonce in TLS 1.2 and DTLS 1.2 by generating the explicit 8-byte nonce once when the TLS write key is set and failing to increment it for each record. This results in every AES-GCM record within a connection being encrypted with the same key and nonce pair. Reusing a GCM key and nonce pair compromises confidentiality by disclosing the keystream (since XOR of ciphertexts reveals XOR of plaintexts) and leaks the GHASH authentication key, which can be exploited to forge authentication tags. The issue does not affect AES-CCM, TLS 1.3, or non-TLS uses of the cipher.
Potential Impact
An attacker who can observe multiple TLS 1.2 or DTLS 1.2 AES-GCM encrypted records within a single connection can exploit the nonce reuse to recover plaintext data and forge authentication tags. This compromises the confidentiality and integrity of the affected communications. The vulnerability does not impact AES-CCM, TLS 1.3, or non-TLS cipher uses.
Mitigation Recommendations
No official patch or remediation level is currently confirmed. Users should upgrade to wolfEngine version 1.4.1 or later once available, as versions up to 1.4.0 are affected. Until then, avoid using TLS 1.2 or DTLS 1.2 AES-GCM modes with wolfEngine or apply alternative mitigations if possible. Monitor the vendor advisory for updates on fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- wolfSSL
- Date Reserved
- 2026-08-26T14:40:11.656Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a91ab5dacd9273b490abfe1
Added to database: 08/28/2026, 15:38:05 UTC
Last enriched: 09/08/2026, 03:52:07 UTC
Last updated: 10/13/2026, 18:48:24 UTC
Views: 67
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.