Skip to main content

wolfSSL CVE-2026-6330

| EUVDEUVD-2026-39570 MEDIUM
Use of a Broken or Risky Cryptographic Algorithm (CWE-327)
2026-06-25 wolfSSL GHSA-89v8-3927-wfcg
6.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Establish network man-in-the-middle position
  2. Delivery
    Intercept ML-KEM encapsulation ciphertext in transit
  3. Exploit
    Modify bytes in unchecked second half of ciphertext
  4. Execution
    Forward tampered ciphertext to ARM64 wolfSSL decapsulator
  5. Persist
    Implicit rejection bypassed, server derives attacker-influenced shared secret
  6. Impact
    Repeat adaptive queries to recover session key material

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Approved algorithm selection
Exploitation Conditions

All of the following conditions must be simultaneously true for exploitation: (1) wolfSSL must be compiled for and executing on ARM64 hardware with NEON intrinsic support; (2) ML-KEM must be compiled in via WOLFSSL_HAVE_MLKEM and WOLFSSL_WC_MLKEM and actively used for key encapsulation/decapsulation; (3) for FIPS builds, the FIPS version must be 7.0.0 or later, as pre-7.0.0 FIPS builds are excluded from the affected code path per the PR test guard; (4) the attacker must be able to submit adaptively chosen ciphertexts to the decapsulating endpoint - requiring at minimum a man-in-the-middle network position or control over the ciphertext input channel. The CVSS PR:N indicates no authentication credential is needed to present a ciphertext to the decapsulation interface. What limits exploitation: non-ARM64 builds (x86-64, RISC-V, etc.) follow a different comparison path and are unaffected; builds that do not enable ML-KEM are entirely unaffected; single-query attacks do not suffice for full key recovery - an adaptive multi-query oracle interaction is required; and AC:H/AT:P reflects that the combination of architectural, build-configuration, and network-position requirements substantially restricts the realistically exploitable population.

Impact

The CVSS 4.0 score of 6.3 with AV:N/AC:H/AT:P reflects meaningful real-world friction that limits the at-risk population: the vulnerable code path requires ARM64 hardware with NEON support, ML-KEM explicitly compiled in (WOLFSSL_HAVE_MLKEM/WOLFSSL_WC_MLKEM), and an attacker with the ability to submit adaptive ciphertext queries to the decapsulating party. The High attack complexity and Partial timing requirement (AT:P) correctly capture these prerequisites. EPSS data is not available in the provided intelligence; the vulnerability is not in the CISA KEV, and no public exploit code has been identified, indicating no confirmed active exploitation at time of analysis. The confidentiality and integrity impacts rated as Low (VC:L/VI:L) in the official vector reflect that a single manipulated ciphertext does not immediately expose the private key - full shared-secret recovery requires multiple adaptive queries. The principal risk is to organizations deploying wolfSSL on ARM64 for post-quantum key exchange, where the IND-CCA2 guarantee is simply not met. Systems on x86-64, or those not using ML-KEM, are not impacted by this specific defect. There is no conflicting signal between CVSS vector and description in this case; both consistently indicate a network-reachable, high-complexity cryptographic correctness failure.

Exploit ScenarioDerived

An attacker with a man-in-the-middle position on a post-quantum TLS 1.3 session between a client and an ARM64 wolfSSL server with ML-KEM enabled intercepts the ML-KEM ciphertext in transit and modifies bytes in the second half (the unchecked region), then forwards the tampered ciphertext to the server. The server's ARM64 NEON comparison passes despite the modification, implicit rejection does not fire, and the server derives and uses a shared secret from the attacker-influenced input. By repeating this process with systematically varied modifications across multiple sessions, the attacker conducts an adaptive chosen-ciphertext attack to learn information about the private key or recover session shared secrets. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 25, 2026

wolfSSL's ML-KEM ARM64 NEON decapsulation path compares only half of the re-encrypted ciphertext during the Fujisaki-Okamoto implicit rejection step, breaking the IND-CCA2 security proof for post-quantum key exchange on that architecture. This affects any ARM64 deployment of wolfSSL with ML-KEM (FIPS 203) compiled in and in active use. An attacker who can submit adaptively chosen ciphertexts to a decapsulating party - for example via man-in-the-middle position during a post-quantum TLS handshake - may exploit the broken comparison to bypass implicit rejection, potentially enabling shared-secret recovery through repeated adaptive queries. No public exploit has been identified and the vulnerability is not listed in the CISA KEV at time of analysis.

RemediationAI

The upstream fix is available as GitHub PR #10192 (https://github.com/wolfSSL/wolfssl/pull/10192), which corrects the half-comparison defect and adds regression tests covering ciphertext tampering at byte offsets 0 and 32. However, a tagged release version incorporating this fix has not been independently confirmed from available data - the fix exists as a pull request commit, not a versioned release; organizations should monitor https://www.wolfssl.com/docs/security-vulnerabilities/ for an official patched release announcement before declaring remediation complete. As an immediate compensating control, disabling ML-KEM at compile time by removing WOLFSSL_HAVE_MLKEM and WOLFSSL_WC_MLKEM eliminates the vulnerable code path entirely, at the cost of losing post-quantum key exchange capability. Where ML-KEM cannot be disabled, restricting deployments to non-ARM64 builds (e.g., x86-64) bypasses the NEON-specific comparison defect without sacrificing post-quantum support, but requires a recompilation and redeployment cycle. Applications operating ML-KEM decapsulation on ARM64 over untrusted networks should treat this as a priority until a verified patched release is available.

Affected VersionsENISA

wolfSSL 5.7.4 ≤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

ML-KEM (Module Lattice Key Encapsulation Mechanism, NIST FIPS 203) achieves IND-CCA2 security through the Fujisaki-Okamoto (FO) transform: during decapsulation the implementation must re-encrypt the recovered plaintext and compare the resulting ciphertext byte-for-byte against the original input, returning a pseudo-random value (implicit rejection) if any discrepancy is found. In wolfSSL (cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*), the ARM64 NEON-optimized constant-time comparison routine processed only half of the ciphertext bytes, so the second half of the ciphertext was effectively unchecked. CWE-327 (Use of a Broken or Risky Cryptographic Algorithm) captures the root cause: the defective comparison invalidates the FO transform's security reduction, meaning the scheme no longer provably resists chosen-ciphertext attacks. The defect is architecture-specific and only present in builds compiled for ARM64 with NEON intrinsics; x86-64 and other architecture builds follow a different comparison path and are unaffected. The PR diff confirms regression tests were added to verify implicit rejection fires at byte offsets 0 and 32 of ML-KEM ciphertexts.

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 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

AV:N because ciphertexts are submitted over the network; AC:H for ARM64 NEON plus ML-KEM prerequisites; C:H because adaptive attack enables shared-secret recovery; I:L for attacker-influenced key material weakening session integrity.

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

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

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

DescriptionCVE.org

The ML-KEM ARM64 NEON ciphertext comparison only compares half of the input, breaking the Fujisaki-Okamoto transform's implicit rejection and weakening IND-CCA2 security on that code path. The constant-time comparison effectively ignored part of the re-encrypted ciphertext, so a decapsulating party could fail to detect a manipulated ciphertext and proceed without the standard's required implicit rejection.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
popular embedded and IoT TLS library, significant automotive and aerospace footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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