CVE-2026-6412: WolfSSL SHA-1/MD5 Certificate Policy Bypass (MEDIUM)
CVE-2026-6412 is a medium-severity certificate handling issue in WolfSSL in which the library continues to accept SHA-1 and MD5 hashing algorithms when processing X.509 certificates, despite these algorithms being cryptographically obsolete and violating modern RFC 8446 (TLS 1.3) compliance requirements. An authenticated attacker could exploit this to bypass certificate validation controls, potentially enabling man-in-the-middle attacks or acceptance of fraudulent certificates within encrypted sessions. The vulnerability requires prior authentication and does not directly compromise confidentiality, but does introduce integrity risks through improper certificate chain validation.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 4.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weaknesses (CWE)
- CWE-327
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-25 / 2026-06-27
NVD description (verbatim)
Certificate policy and RFC 8446 compliance concerns regarding the continued acceptance of SHA-1/MD5 in certificate processing.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
WolfSSL's certificate processing pipeline does not properly enforce deprecation of weak hashing algorithms (SHA-1 and MD5) when validating certificate chains and policies. This creates a gap between the library's stated RFC 8446 compliance and its actual runtime behavior. An authenticated user or service invoking WolfSSL's certificate validation functions can supply certificates signed with SHA-1 or MD5, and the library will accept them rather than rejecting them as non-compliant. This violates modern public key infrastructure (PKI) best practices and introduces a downgrade path for certificate validation severity. The issue is rooted in CWE-327 (use of a broken or risky cryptographic algorithm) and allows integrity compromise of the certificate chain itself, though not the data encrypted by the resulting session.
Business impact
Organizations relying on WolfSSL for embedded TLS, IoT applications, or edge computing may inadvertently accept SHA-1 or MD5-signed certificates that should be rejected under industry compliance frameworks (including PCI-DSS, NIST SP 800-52R2, and CA/Browser Forum Baseline Requirements). This can lead to acceptance of attacker-controlled or legacy certificates, weakening the integrity of mutual authentication flows. In supply-chain scenarios or critical infrastructure where WolfSSL validates third-party certificates, the risk is elevated. Compliance audits may flag the continued acceptance of these weak algorithms as a policy violation, and organizations may face remediation pressure from customers or regulators.
Affected systems
WolfSSL versions that do not enforce RFC 8446 certificate policy constraints are affected. The vulnerability applies to any deployment where WolfSSL is used for certificate validation in TLS handshakes, including embedded systems, IoT devices, containerized applications, and edge gateways. Organizations should verify the exact affected version range in the WolfSSL security advisory and audit their supply chain for dependencies on vulnerable releases. Firmware and firmware-as-a-service (FaaS) platforms shipping WolfSSL are especially relevant targets for rapid inventory assessment.
Exploitability
Exploitation requires the attacker to be authenticated (PR:L in the CVSS vector), meaning they must already have credentials or session access to the target system. The network attack surface is present (AV:N), and no user interaction is required. However, the practical barrier is authentication; an external attacker cannot trigger this vulnerability without prior account compromise or insider access. Once authenticated, the attacker can supply a SHA-1 or MD5-signed certificate to an application that invokes WolfSSL's validation functions, and it will be accepted when it should be rejected. The severity is limited by the lack of direct confidentiality impact and the authentication requirement, but the integrity compromise is real and could be chained with other authentication bypass techniques.
Remediation
Apply the latest patched version of WolfSSL that enforces RFC 8446 compliance and rejects SHA-1 and MD5-signed certificates by default. Verify against the official WolfSSL security advisory for the specific version number that addresses this issue. Additionally, audit your application's certificate validation logic to confirm that it rejects weak-algorithm certificates at the application layer as a defense-in-depth control. For air-gapped or long-lifecycle systems (firmware, industrial control systems), prioritize a staged rollout to validate that stricter certificate validation does not break legacy certificate chains in your supply chain.
Patch guidance
Obtain and deploy the patched WolfSSL release that enforces RFC 8446 certificate policy constraints. Test the patch in a staging environment before production rollout, especially if your system relies on third-party or legacy certificates that may still use SHA-1. Monitor your certificate inventory to identify any certificates signed with weak algorithms; work with your PKI or certificate authority to re-issue certificates with SHA-256 or stronger algorithms before the patch is applied, to avoid unexpected certificate rejection in production. Consult the WolfSSL vendor advisory for any breaking changes or migration guidance.
Detection guidance
Monitor certificate validation events in applications using WolfSSL; look for logs or metrics indicating acceptance of SHA-1 or MD5-signed certificates. Use certificate scanning tools to identify weak-algorithm certificates in your trust stores and intermediate certificate lists. Implement runtime instrumentation or WAF rules to detect certificate validation anomalies. In network traffic analysis, inspect TLS handshakes to identify certificates with weak signature algorithms being presented or accepted by clients. Security information and event management (SIEM) systems can be configured to alert on certificate chain events involving deprecated algorithms.
Why prioritize this
Although the CVSS score of 4.3 (MEDIUM) reflects the authentication requirement and lack of confidentiality impact, the vulnerability should not be triaged as low-urgency. Certificate validation is a foundational control in PKI; bypassing it through weak-algorithm acceptance directly undermines trust assumptions in encrypted communication. Organizations in regulated industries or handling sensitive data should prioritize remediation to avoid compliance violations. The lack of active exploitation (not on KEV) provides a window to patch before widespread attacker awareness; this should motivate rapid testing and rollout, especially for critical infrastructure and supply-chain-sensitive deployments.
Risk score, explained
The CVSS 3.1 score of 4.3 (MEDIUM) reflects a network-accessible vulnerability (AV:N) with low complexity (AC:L) that requires low-privilege authentication (PR:L). It inflicts limited but measurable integrity damage (I:L) with no confidentiality or availability impact. The authentication gate reduces the severity compared to an unauthenticated bypass; however, the integrity risk is non-trivial because certificate validation is a trust boundary. In environments where the authenticated user has significant privilege or where certificate validation is a secondary control, the real-world impact may exceed the base score. The score does not account for supply-chain amplification or compliance context.
Frequently asked questions
Will this vulnerability allow an attacker to forge certificates?
No. The vulnerability allows WolfSSL to accept certificates that are legitimately signed with SHA-1 or MD5, but does not enable an attacker to create valid signatures with those weak algorithms. However, an attacker who obtains or controls a legacy SHA-1 or MD5-signed certificate can now present it to a vulnerable WolfSSL application and have it accepted, rather than being rejected for policy violation.
Is WolfSSL the only TLS library affected by SHA-1 certificate acceptance?
No. Other TLS libraries and platforms may have similar issues; this CVE is specific to WolfSSL. OpenSSL, BoringSSL, and other major libraries have already deprecated or configurable support for weak-algorithm certificates. However, WolfSSL's particular policy gap warrants specific remediation. Check your entire TLS stack against your organizational certificate policy requirements.
What if we cannot immediately patch because of legacy systems?
Implement mitigating controls: use a certificate policy agent or proxy to validate certificates upstream of WolfSSL, restrict certificate issuance in your PKI to SHA-256 and stronger, or isolate affected systems from untrusted certificate sources. Conduct a risk assessment of the systems running vulnerable WolfSSL versions and prioritize patching based on exposure and data sensitivity.
Does this affect TLS 1.2 or only TLS 1.3?
The CVE explicitly references RFC 8446 (TLS 1.3) compliance concerns, but the underlying issue is in certificate processing, which is used by both TLS 1.2 and TLS 1.3 handshakes. Any WolfSSL deployment that validates certificates—regardless of TLS version—is at risk if the library continues to accept SHA-1 or MD5-signed certificates.
This analysis is provided for informational purposes and represents an assessment of the vulnerability as described in public sources and vendor advisories. No exploit code or weaponized proof-of-concept is included or endorsed. Security teams should verify all patch versions, affected system versions, and remediation guidance directly against the official WolfSSL security advisory before deployment. Compliance and risk tolerance vary by organization; this document does not constitute legal or compliance advice. Test patches thoroughly in non-production environments before applying to critical systems. Source: NVD (public-domain), retrieved 2026-08-04. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-6330MEDIUMWolfSSL ML-KEM ARM64 Ciphertext Validation Weakness
- CVE-2025-10237MEDIUMThinkPad Embedded Controller Firmware Privilege Escalation Vulnerability
- CVE-2026-10814MEDIUMWeak Hash Implementation in Milvus Grantee ID Handler
- CVE-2026-11479MEDIUMWeak Hash in grepai Qdrant Backend – Detection & Patch Guidance
- CVE-2026-40641MEDIUMDell PowerFlex Manager Weak Cryptography Remote Access Risk
- CVE-2026-40996MEDIUMSpring Web Services RSA v1.5 Weak Key Transport Default
- CVE-2026-47775MEDIUMEnvoy OAuth2 Padding Oracle – Credential Theft Risk
- CVE-2026-49322MEDIUMPIN Recovery Vulnerability in Indian Motorcycle Scout Bobber + Tech WCM