CVE-2026-82208
Received Received - Intake

libcurl Certificate Trust Store Reinstallation Vulnerability with wolfSSL Backend

Vulnerability report for CVE-2026-82208, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-06

Last updated on: 2026-09-06

Assigner: curl

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-06
Last Modified
2026-09-06
Generated
2026-09-08
AI Q&A
2026-09-06
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
curl libcurl From 8.9.1 (inc) to 8.21.0 (inc)
curl libcurl 8.22.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-82208 is a vulnerability in curl versions 8.9.1 to 8.21.0 when using the wolfSSL TLS backend. It occurs when CA caching is enabled and a custom SSL context callback replaces the trust store. After the callback runs, libcurl may silently reinstall the cached CA store, overriding the callback's selection. This causes certificates trusted by the cached store but rejected by the callback-selected store to be incorrectly accepted.

Detection Guidance

To detect this vulnerability, check if your system uses curl versions 8.9.1 to 8.21.0 with the wolfSSL backend and CA caching enabled. Run 'curl --version' to verify the version. If using a vulnerable version, inspect applications using CURLOPT_SSL_CTX_FUNCTION with wolfSSL.

Impact Analysis

This vulnerability could allow an attacker to bypass certificate validation if they can trick a system into trusting a malicious certificate via the cached store. Applications using CURLOPT_SSL_CTX_FUNCTION with wolfSSL and CA caching enabled may accept invalid certificates, potentially leading to man-in-the-middle attacks or unauthorized data access.

Compliance Impact

This vulnerability may violate compliance requirements that mandate strict certificate validation, such as GDPR's data protection measures or HIPAA's security controls for data transmission. Accepting invalid certificates could lead to unauthorized access to sensitive data, resulting in non-compliance with these regulations.

Mitigation Strategies

Upgrade curl to version 8.22.0 or later. If upgrading is not possible, avoid using CURLOPT_SSL_CTX_FUNCTION with the wolfSSL backend or disable CA caching in your configuration.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-82208. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart