Critical Vulnerability in wolfSSL Allows Forged Certificate Use
A critical vulnerability in the **wolfSSL** SSL/TLS library could allow attackers to bypass security measures by forging certificates. Tracked as **CVE-2026-5194**, the flaw stems from improper verification of the hash algorithm during ECDSA signature checks, potentially impacting billions of devices.

**wolfSSL**, a lightweight TLS/SSL implementation widely used in embedded systems, IoT devices, and various other applications, is facing scrutiny due to a newly discovered vulnerability.
### The Vulnerability: CVE-2026-5194
Researchers have identified **CVE-2026-5194**, a cryptographic validation flaw affecting multiple signature algorithms within **wolfSSL**. This vulnerability allows improperly weak digests to be accepted during certificate verification, potentially enabling attackers to use forged certificates.
The flaw impacts several algorithms, including ECDSA/ECC, DSA, ML-DSA, Ed25519, and Ed448. The vulnerability was discovered by Nicholas Carlini of **Anthropic**.
### Impact
According to experts, successful exploitation of **CVE-2026-5194** could trick applications or devices using a vulnerable **wolfSSL** version into accepting a forged digital identity. This could lead to a malicious server, file, or connection being trusted when it should have been rejected.
An attacker could exploit this weakness by supplying a forged certificate with a smaller digest than cryptographically appropriate, making the signature easier to falsify or reproduce.
### Mitigation
The vulnerability has been addressed in **wolfSSL** version 5.9.1, released on April 8. Users are strongly advised to upgrade to this version or later.
"Missing hash/digest size and OID checks allow digests smaller than allowed when verifying ECDSA certificates, or smaller than is appropriate for the relevant key type, to be accepted by signature verification functions," reads the security advisory.
### Vendor Advisories
System administrators managing environments that rely on Linux distribution packages, vendor firmware, and embedded SDKs should also seek downstream vendor advisories for specific guidance. For example, **Red Hat**'s advisory states that MariaDB is not affected because it uses OpenSSL rather than wolfSSL for cryptographic operations.
Organizations using **wolfSSL** are advised to review their deployments and apply the security updates promptly to ensure certificate validation remains secure.