Skip to main content

wolfSSL EUVDEUVD-2026-39493

| CVE-2026-55967 LOW
Reusing a Nonce, Key Pair in Encryption (CWE-323)
2026-06-25 wolfSSL GHSA-q4q5-jx42-4xp9
2.0
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify application using wolfSSL raw streaming GCM API
  2. Delivery
    Supply cumulative data exceeding 4-64 GiB in single session
  3. Exploit
    Trigger word32 counter overflow in wolfSSL
  4. Execution
    GCM keystream blocks reused silently
  5. Persist
    Capture two ciphertexts sharing reused keystream
  6. Impact
    XOR ciphertexts to recover partial plaintexts

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Nonce/key pair uniqueness
Exploitation Conditions

All of the following must hold simultaneously: (1) the target application invokes wolfSSL's raw streaming AES-GCM API directly - specifically wc_AesGcmEncryptUpdate or wc_AesGcmDecryptUpdate - rather than wolfSSL's TLS record layer, which never presents records large enough to reach this code path; (2) a single uninterrupted streaming session accumulates cumulative plaintext or ciphertext exceeding either the word32 byte-count overflow boundary (~4 GiB) or the NIST SP 800-38D block counter limit (~64 GiB), whichever the internal tracking reaches first; (3) the attacker holds local access with at least low privileges (PR:L per the provided CVSS 4.0 vector) and can observe the resulting ciphertexts from at least two overlapping keystream-reuse regions. What limits exploitation: the TLS layer is entirely unaffected; typical file-encryption or VPN sessions never approach multi-gigabyte single-session sizes; the CVSS 4.0 AT:P confirms a specific attack prerequisite; AV:L rules out any remote exploitation path. Authentication requirements beyond local PR:L are not further qualified in the available data.

Impact

The CVSS 4.0 score of 2.0 (AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N) accurately reflects the very low real-world priority. Four independent limiting factors compound: local-only attack vector (AV:L), high attack complexity requiring an uncommon data volume (AC:H), a specific attack prerequisite (AT:P - a streaming session that must exceed the GCM counter limit), and at minimum low-privileged access (PR:L). The sole impact is limited confidentiality (VC:L) through XOR-based plaintext recovery; integrity and availability are entirely unaffected. No EPSS score was provided in the input data, and the vulnerability does not appear in the CISA KEV catalog, indicating no confirmed active exploitation. Applications accessing wolfSSL only through its TLS layer are entirely unexposed, since TLS record sizes are orders of magnitude below the trigger threshold. The risk is meaningful only to applications that invoke the raw streaming cryptographic API directly and pass uncommonly large single-session data volumes - a narrow deployment pattern. The conflict between the NIST ~64 GiB limit and the word32 byte-count overflow (~4 GiB boundary) means the internal tracking can also overflow at 4 GiB, potentially triggering incorrect behavior before the theoretical NIST counter exhaustion point; this should be verified with the vendor.

Exploit ScenarioDerived

An attacker with local access and control over an application that uses wolfSSL's raw streaming AES-GCM API submits more than 64 GiB of data in a single streaming encryption or decryption session, triggering the internal counter wrap. By capturing two ciphertexts produced from the reused keystream, the attacker XORs them together to recover the XOR of the corresponding plaintexts, achieving partial plaintext recovery. No public exploit code exists at time of analysis; successful exploitation demands a highly specific operational scenario unlikely to arise in standard TLS or embedded workloads.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

Keystream reuse in wolfSSL's streaming AES-GCM API exposes ciphertext to partial plaintext recovery when a single session accumulates more than 64 GiB of data, violating NIST SP 800-38D counter limits due to unguarded internal counter wrap. All wolfSSL versions are affected per wildcard CPE (cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*), with the flaw present in both AES-GCM and AES-CCM streaming paths. Exploitation is constrained to local access with low privileges, high attack complexity, and the operationally unusual prerequisite of processing tens of gigabytes in a single uninterrupted streaming session; no public exploit identified at time of analysis.

RemediationAI

Apply the fix from wolfSSL GitHub PR #10709 (https://github.com/wolfSSL/wolfssl/pull/10709), which adds counter-overflow guards to both AES-GCM and AES-CCM streaming encrypt and decrypt paths. An exact released version containing this fix is not independently confirmed from the provided data - monitor https://www.wolfssl.com/docs/security-vulnerabilities/ for the official fixed-release announcement. Until a versioned release is deployed, applications using wolfSSL's raw streaming AES-GCM API should enforce an application-level check rejecting any single streaming session whose cumulative data size approaches 4 GiB (the word32 byte-count boundary) or 64 GiB (the NIST counter limit); this restriction has no functional side-effect since NIST SP 800-38D prohibits such sizes regardless. Applications using wolfSSL exclusively through its TLS handshake and record-layer API are not exposed and require no action, as TLS record sizes are far below the trigger threshold.

Affected VersionsENISA

wolfSSL 4.8.0 ≤5.9.1

Affected Packages

euvd wolfssl no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

wolfSSL (cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*) is a lightweight embedded SSL/TLS cryptographic library widely used in IoT, automotive, and resource-constrained systems. The affected code is in the streaming AES-GCM functions wc_AesGcmEncryptUpdate and wc_AesGcmDecryptUpdate in wolfcrypt/src/aes.c, along with AES-CCM streaming counterparts. AES-GCM derives keystream by incrementing a 32-bit block counter; per NIST SP 800-38D section 5.2.1.1 the maximum ciphertext before counter exhaustion is 2^32 − 2 blocks (~64 GiB). wolfSSL's streaming APIs accumulated cumulative sizes in word32 (32-bit unsigned integer) byte-count variables (aes->cSz and aes->aSz) without bounds checking, meaning sessions could silently overflow these counters and permit the underlying GCM block counter to wrap. Counter wrap causes keystream blocks to be reused across ciphertext. Per CWE-323 (Reusing a Nonce/Key Pair in Encryption), an observer of two ciphertexts encrypted under the same keystream can XOR them to obtain the XOR of the two plaintexts, enabling partial plaintext recovery. The fix in PR #10709 adds explicit overflow guards returning AES_GCM_OVERFLOW_E or AES_CCM_OVERFLOW_E before any counter wrap can occur, and also addresses the AES-CCM nonce-length edge case where the B[] counter field cannot represent inSz.

Know when Wolfssl 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

Vendor (wolfSSL) PRIMARY 2.0 LOW
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 2.5 LOW

Local access and high complexity required to accumulate over 64 GiB in one session; only partial confidentiality impact via keystream reuse, no integrity or availability impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

AES-GCM encryption/decryption with extremely large cumulative single message sizes (>64 GiB) were not properly rejected by the streaming APIs, allowing counter wrap, keystream reuse, and consequent plaintext recovery.

Threat Intelligence Overview

EPSS Score
0.1%
Top 100% exploitable
Prevalence
Medium
popular embedded SSL/TLS library across IoT, automotive, and industrial devices
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2017-13099 HIGH POC
7.5 Dec 13

wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange i

CVE-2017-2800 CRITICAL POC
9.8 May 24

A specially crafted x509 certificate can cause a single out of bounds byte overwrite in wolfSSL through 3.10.2 resulting

CVE-2026-89136 HIGH POC
8.3 Sep 27

Authentication bypass in wolfSSL TLS clients built with Raw Public Key (RPK) support allows a malicious or on-path serve

CVE-2026-93302 HIGH POC
8.3 Sep 27

wolfSSL builds that enable the WOLFSSL_TRUST_PEER_CERT macro can be induced to accept a forged clone of a trusted-peer C

CVE-2026-89102 HIGH POC
8.3 Sep 27

Certificate forgery in the wolfSSL client (versions 5.7.2 through 5.9.2) lets a remote attacker who already holds any ce

CVE-2015-6925 HIGH POC
7.5 Jan 22

wolfSSL (formerly CyaSSL) before 3.6.8 allows remote attackers to cause a denial of service (resource consumption or tra

CVE-2022-39173 HIGH POC
7.5 Sep 29

In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. Rated high severity (

CVE-2022-38152 HIGH POC
7.5 Aug 31

An issue was discovered in wolfSSL before 5.5.0. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita

CVE-2020-11713 HIGH POC
7.5 Apr 12

wolfSSL 4.3.0 has mulmod code in wc_ecc_mulmod_ex in ecc.c that does not properly resist timing side-channel attacks. Ra

CVE-2019-18840 HIGH POC
7.5 Nov 09

In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data wh

CVE-2020-15309 HIGH POC
7.0 Aug 21

An issue was discovered in wolfSSL before 4.5.0, when single precision is not employed. Rated high severity (CVSS 7.0).

CVE-2020-24613 MEDIUM POC
6.8 Aug 24

wolfSSL before 4.5.0 mishandles TLS 1.3 server data in the WAIT_CERT_CR state, within SanityCheckTls13MsgReceived() in t

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy