Intel

AIKIDO-2026-800266

libcurl is vulnerable to Improper Certificate Validation

CVE-2026-82208Published Oct 1, 2026
October 1, 2026

37

CVE Score

Low

Improper Certificate Validation

Are you affected? Scan for Free

TL;DR

With the wolfSSL backend and CA caching, a CURLOPT_SSL_CTX_FUNCTION callback that replaces the trust store can have the cached store installed again after the callback returns. A certificate the callback store would reject is then accepted because the cached store trusts it. The fix does not reinstall the cached store after the callback.

How do I fix this?

Upgrade the libcurl and/or the curl.curl library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use wolfSSL with CA caching and CURLOPT_SSL_CTX_FUNCTION.

Package

libcurl

Versions

8.9.1 - 8.21.0

Fixed in 8.22.0

Background info

libcurl is vulnerable to Improper Certificate Validation in versions 8.9.1 - 8.21.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea