High · published September 6, 2026
With the wolfSSL backend, when CA caching is enabled and an
`CURLOPT_SSL_CTX_FUNCTION` callback replaces the trust store, libcurl can
silently reinstall the cached store after the callback returns. A certificate
trusted by the cached store but rejected by the callback-selected store is
then incorrectly accepted.
| Product | Versions | Fixed in |
|---|---|---|
| haxx/curl | ≥ 8.9.1, < 8.22.0 | 8.22.0 |