Skip to main content

wolfSSL CVE-2026-6412

| EUVDEUVD-2026-39560 LOW
Use of a Broken or Risky Cryptographic Algorithm (CWE-327)
2026-06-25 wolfSSL GHSA-w3gw-f9wr-g6qx
2.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Identify wolfSSL target with MD5 compiled in
  2. Delivery
    Obtain or forge MD5-signed leaf certificate
  3. Exploit
    Relay forged certificate during TLS handshake
  4. Execution
    wolfSSL verify mode accepts MD5 signature
  5. Impact
    Certificate chain accepted without proper integrity check

Vulnerability Assessment

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

Exploitation requires all of the following: (1) the target application links against wolfSSL compiled with MD5 support enabled (NO_MD5 not defined at build time); (2) the attacker can control or influence the certificate chain evaluated by wolfSSL's certificate manager during chain verification; (3) the wolfSSL build does not include the upstream fix from PR #10222. Trust anchors of type CA_TYPE are explicitly exempt from the new check, so only intermediate or end-entity (leaf) certificates are the attack surface. The CVSS vector confirms PR:L (low privileges required) and AT:P (partial attack preconditions), meaning unauthenticated remote exploitation against arbitrary default-configured deployments is not possible. Exploitation is additionally constrained by the high computational cost of MD5 collision generation for a practical certificate forgery.

Impact

The CVSS 4.0 score of 2.3 (AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N) is consistent with the limited real-world threat. Attack complexity is high (AC:H) and an additional attack precondition (AT:P) exists - the attacker must influence which certificate chain wolfSSL evaluates, typically requiring MitM positioning or control over a certificate source. Impact is integrity-only and low (VI:L): an attacker who successfully exploits this could cause wolfSSL to accept a certificate chain that should have been rejected, but generating a meaningful MD5 collision to forge a usable certificate remains computationally expensive in practice. No EPSS data was provided, no KEV listing exists, and no public exploit code has been identified. This is best characterized as a compliance/defense-in-depth issue: real environments that rely solely on wolfSSL certificate verification and face adversaries capable of MD5 collision attacks should prioritize patching, while organizations with additional certificate controls (CT logs, pinning, OCSP) face lower residual risk.

Exploit ScenarioDerived

An attacker positioned as a network MitM against a wolfSSL-based TLS client - or able to relay traffic through a controlled intermediate - could present an MD5-signed leaf certificate during the TLS handshake. On an unpatched wolfSSL build with MD5 compiled in, the certificate manager would pass the MD5-signed chain through verification, potentially allowing server impersonation. No public exploit code exists for this specific vulnerability, and the practical barrier of generating a usable MD5 collision limits this to well-resourced adversaries.

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

wolfSSL's certificate chain verification accepted MD5-signed certificates when MD5 was compiled in for any purpose (e.g., TLS 1.0 PRF or HMAC), violating RFC 8446 compliance and the fundamental prohibition on broken hash algorithms in certificate signatures. An attacker with low-level positioning who can influence the certificate chain presented to a wolfSSL-based application could potentially bypass chain integrity checks by presenting an MD5-signed leaf certificate. No public exploit has been identified and no CISA KEV listing exists; the CVSS 4.0 score of 2.3 reflects the high complexity and constrained impact of realistic exploitation.

RemediationAI

Rebuild wolfSSL using the patched source code from GitHub PR #10222 (https://github.com/wolfSSL/wolfssl/pull/10222), which adds MD5 rejection logic in HashForSignature() for certificate verify mode. An exact tagged release containing this fix has not been confirmed from available references - monitor https://www.wolfssl.com/docs/security-vulnerabilities/ for the corresponding release advisory. As a compensating control, ensure wolfSSL is compiled without the WOLFSSL_ALLOW_MD5_CERT_SIGS macro, which if defined would re-enable acceptance of MD5 certificate signatures and negate the fix. Operators can validate remediation by running the new test_wolfSSL_CertManagerRejectMD5Cert test case, which constructs an MD5-signed leaf and confirms it is rejected with HASH_TYPE_E. For deployments where patching is not immediately possible, enforcing certificate pinning or restricting accepted CAs at the application layer reduces exposure.

Affected VersionsENISA

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

The root cause is CWE-327 (Use of a Broken or Risky Cryptographic Algorithm): wolfSSL's HashForSignature() function in wolfcrypt/src/asn.c did not differentiate between MD5 usage for certificate signature verification versus other permitted uses such as TLS 1.0 PRF or HMAC. The fix adds an explicit guard in verify mode that returns HASH_TYPE_E when MD5 is encountered as a certificate signature algorithm, unless the opt-in build macro WOLFSSL_ALLOW_MD5_CERT_SIGS is defined. Affected product is identified by CPE cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*, indicating all wolfSSL versions prior to the patched build. RFC 8446 (TLS 1.3) and longstanding industry consensus prohibit MD5 and SHA-1 for digital signatures due to demonstrated collision vulnerabilities; wolfSSL's prior behavior left this enforcement gap.

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.3 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/U:Clear
vuln.today AI 3.1 LOW

Network vector for TLS certificate processing, high complexity due to MitM or chain-influence requirement, low privilege to interact with certificate path; integrity-only low impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/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
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Certificate policy and RFC 8446 compliance concerns regarding the continued acceptance of SHA-1/MD5 in certificate processing.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
widely used embedded and IoT TLS/SSL library
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 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
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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