wolfSSL CVE-2026-5194: missing digest checks let forged certificates verify
wolfSSL 5.9.1 fixes critical CVE-2026-5194, where signature checks accepted undersized digests, plus 21 other CVEs. Who needs to upgrade and how to check.

wolfSSL, the compact TLS library embedded in routers, industrial controllers, IoT devices and plenty of firmware, has fixed a critical bug in how it verifies signatures. CVE-2026-5194 let certificate verification accept hash digests smaller than the standards allow, weakening the check that proves a certificate was really signed by a trusted CA. If you ship firmware or a C/C++ product that links wolfSSL, this is a dependency upgrade to schedule now, not at the next release train.
What happened
wolfSSL released version 5.9.1 on 8 April 2026. The release notes list 22 CVEs, one rated critical. That critical issue, CVE-2026-5194, is described by the project as missing hash/digest size and OID checks that allow digests smaller than permitted by FIPS 186-4 or FIPS 186-5 to be accepted during signature verification. The affected algorithms include ECDSA/ECC, DSA, ML-DSA, Ed25519 and Ed448.
The flaw was reported by Nicholas Carlini of Anthropic, and wolfSSL's vulnerability page records a one-day turnaround from report to fix. The fix landed in pull request 10131. BleepingComputer covered the issue on 13 April, noting that Red Hat rates it at maximum severity.
Who is affected
- Builds of wolfSSL earlier than 5.9.1 that perform certificate verification. wolfSSL specifically calls out builds that have ECC together with EdDSA or ML-DSA enabled and that do certificate verification.
- Embedded and IoT vendors that statically link wolfSSL into firmware. wolfSSL says the library is used in more than five billion applications and devices, and many of those will only be fixed by a vendor firmware update.
- Applications using distribution packages or vendor SDKs that bundle wolfSSL. Check your vendor's advisory: downstream status varies. Red Hat, for example, has said MariaDB is not affected because it uses OpenSSL.
- Not affected: software that uses OpenSSL, BoringSSL, LibreSSL, GnuTLS or platform TLS stacks and does not link wolfSSL.
What it means for developers and engineering teams
A signature check has several parts: hash the signed data, confirm the digest has the length and algorithm the signature scheme expects, then verify the signature over that digest with the public key. CVE-2026-5194 is a failure in the middle step. If a verifier accepts a digest that is shorter than the scheme and key size require, an attacker has far less work to do to make a forged signature verify. In TLS and certificate validation, that translates into the risk the CVE describes: a certificate that was not issued by a trusted CA being accepted as if it were, which can let an attacker impersonate a server or tamper with signed data.
Three broader lessons apply:
- Crypto libraries hide in the supply chain. Many teams do not know they ship wolfSSL because it arrives inside an RTOS, a modem SDK or a vendor component. An SBOM that lists statically linked C libraries is the only reliable way to answer "are we affected?" quickly.
- Feature flags change your exposure. wolfSSL is highly configurable. The same version can be vulnerable in one product and not in another depending on whether ECC, EdDSA and ML-DSA are compiled in. Record your
configureoruser_settings.hoptions alongside the version. - 5.9.1 fixes more than one bug. Other issues in the same release include a remotely triggerable heap overflow in DTLS 1.3 ACK processing (CVE-2026-5264), unenforced URI name constraints from intermediate CAs (CVE-2026-5263) and an OpenSSL-compatibility
X509_verify_cert()path that could skip the leaf signature check (CVE-2026-5501). Upgrading the whole library is simpler than reasoning about each one.
What to do now
- Find every place wolfSSL is used: search SBOMs, lockfiles, vendored source trees and firmware build manifests. On Linux hosts,
pkg-config --modversion wolfsslreports the installed library version; in source trees, checkLIBWOLFSSL_VERSION_STRINGinwolfssl/version.h. - Upgrade to wolfSSL 5.9.1 or later, rebuild, and run your TLS and certificate-validation tests, including negative tests that expect bad chains to fail.
- If you cannot upgrade immediately, determine whether your build enables ECC with EdDSA or ML-DSA and performs certificate verification. Prioritise those products.
- For devices you buy rather than build, ask vendors for their CVE-2026-5194 status and a firmware ETA, and track it like any other critical vulnerability.
- Read the full 5.9.1 CVE list and note any issues that touch features you enable, such as DTLS 1.3, PKCS7 or the OpenSSL compatibility layer.