wolfSSL 5.9.4 Patches 11 Security Flaws Affecting TLS and Certificate Validation
wolfSSL 5.9.4 fixes 11 TLS and certificate-validation flaws, including trusted-peer and OCSP authentication bypasses.
Authentication bypass in wolfSSL RPK TLS clients
wolfSSL clients built with Raw Public Key (RPK) support can accept an unsolicited server_cert_type=RawPublicKey during TLS 1.2, TLS 1.3, or DTLS 1.2, which lets a malicious or misbehaving server skip authentication (CWE-287). The issue is triggered on the client side of an RPK-capable handshake; RPK is off by default and is present only in builds configured with --enable-rpk, --enable-all, or --enable-distro (HAVE_RPK). A successful bypass can undermine server authentication and expose the client to an unauthenticated peer, with high integrity impact and limited confidentiality impact (CVSS 4.0 8.3). Only deployments that actually enable RPK are affected; ordinary default builds are not. It is not on the CISA KEV list, and no public proof-of-concept is known.
What to do: If you do not need Raw Public Key, rebuild wolfSSL without --enable-rpk, --enable-all, or --enable-distro (HAVE_RPK). Where RPK is required, apply the vendor fix as soon as it is published and confirm clients reject an unsolicited server_cert_type=RawPublicKey. No fixed version is named in this advisory data.
| Product | Affected |
|---|---|
| wolfSSL | Client builds with RPK enabled (--enable-rpk, --enable-all, or --enable-distro / HAVE_RPK) for TLS 1.2, TLS 1.3, and DTLS 1.2; RPK is off by default. No version |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
When using RPK (Raw Public Key), the client side of a TLS 1.2, 1.3 and DTLS 1.2 connection could accept an unsolicited server_cert_type=RawPublicKey which allowed a malicious or misbehaving server to bypass authentication. RPK is off by default and only enabled in --enable-rpk OR --enable-all OR --enable-distro AKA HAVE_RPK builds.
wolfSSL 5.9.4 fixes 11 TLS and certificate-validation flaws, including trusted-peer and OCSP authentication bypasses.
OpenSSL and wolfSSL patched roughly 25 vulnerabilities, including an 8.2-rated DTLS heap data leak and certificate authentication bypasses affecting Nginx and HAProxy builds.
wolfSSL 5.9.4 patches 11 TLS vulnerabilities, including three high-severity certificate validation bypasses, and adds post-quantum cryptography features.
Today 997 readers · 1.2K views · 135 reads · all time 222K views