Intel

AIKIDO-2026-760491

libcurl is vulnerable to Improper Certificate Validation

Improper Certificate ValidationCVE-2026-80230 Published 6 days ago

37

Low Risk

This Affects:

C++libcurl
7.45.0 - 8.21.0
Fixed in 8.22.0
Are you affected? Scan for Free

TL;DR

With CURLOPT_PINNEDPUBLICKEY set, libcurl skips the pin check when CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST are both off and the server presents no certificate. The connection succeeds even though the pin should have rejected it. The fix rejects a missing server certificate when a public key pin is set.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you set a public key pin and also disable peer and host verification.

Background info

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

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform