CVE-2026-93302 Trusted peer certificate match ignores public key, allowing forged CA clones
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Apache HTTP ServerNginxOpenSSLUbuntu
Description
MatchTrustedPeer ignores the public key used, leading to forged CA clones passing verification. Affected builds are any that enable the macro WOLFSSL_TRUST_PEER_CERT and load CA certificates with wolfSSL_CTX_trust_peer_cert() or wolfSSL_trust_peer_cert(). The peer must know the certificates being loaded to either of those APIs to take advantage of the issue. When OPENSSL_COMPATIBLE_DEFAULTS is also defined this widens the affected API to include all CA certificate loading. Both macros are defined when using autoconf builds such as (nginx, haproxy, stunnel, wpas, apache httpd, hitch, bind, rsyslog, ffmpeg, all, distro). When the certificate is listed as a trusted peer certificate the issue previously allowed for a malicious (D)TLS server to bypass authentication once knowing which CA’s the client would accept. This also affects mutual authentication cases where the client knows which CA’s the server has loaded. If building with any of these configurations and using (D)TLS where the loaded CA’s could be known and authentication of the peer is desired, users should either: update to the latest wolfSSL version, apply the fix patch, or use the configure flag --disable-openssl-compatible-defaults and not load CA’s with wolfSSL_CTX_trust_peer_cert() or wolfSSL_trust_peer_cert() to mitigate the issue.
Upgrade path
8 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/wolfssl(Debian 12) | = 5.5.4-2; = 5.5.4-2+deb12u1; = 5.5.4-2+deb12u2; = 5.5.4-2+deb12u3 +24 more | No fix listed | No fix yet |
| debian/wolfssl(Debian 13) | = 5.7.2-0.1; = 5.7.2-0.1+deb13u1; = 5.7.2-0.1+deb13u2; = 5.7.2-0.2 +11 more | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/wolfssl(Alpine v3.24) | >= 5.3.0, < 5.9.4-r0 | 5.9.4-r0 | Fixed |
| wolfSSL | >= 5.3.0, <= 5.9.2 | after 5.9.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wolfSSL | >= 5.3.0, <= 5.9.2 | No fix listed |
| debian/wolfssl(Debian:12) | All versions | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u3 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.4-1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.4-2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1.2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1.3 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.6.6-1.3~exp1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.0-0.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.0-0.2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.0-0.3 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.2-0.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.2-0.2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.2-0.3 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.7.2-0.4 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.8.2-1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.8.2-1.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.8.2-1.2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.8.4-1 | No fix listed |
Show 24 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/wolfssl(Debian:12) | = 5.9.0-0.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.9.0-0.2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.9.1-0.1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.9.2-1 | No fix listed |
| debian/wolfssl(Debian:13) | All versions | No fix listed |
| debian/wolfssl(Debian:13) | = 5.7.2-0.1 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.7.2-0.1+deb13u1 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.7.2-0.1+deb13u2 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.7.2-0.2 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.7.2-0.3 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.7.2-0.4 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.8.2-1 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.8.2-1.1 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.8.2-1.2 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.8.4-1 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.9.0-0.1 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.9.0-0.2 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.9.1-0.1 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.9.2-1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | All versions | No fix listed |
| alpine/wolfssl(Alpine:v3.24) | >= 5.3.0, < 5.9.4-r0 | 5.9.4-r0 |
| ubuntu/wolfssl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com patch
- Debian Security Tracker CVE-2026-93302 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-87910 third-party-advisory