Description
libcurl would reuse a previously created connection even when some mTLS config
related option had been changed that should have prohibited reuse.

libcurl keeps previously used connections in a connection pool for subsequent
transfers to reuse if one of them matches the setup. However, some TLS
settings related to client certificates were left out from the configuration
match checks, making them match too easily. In particular options related to
the private key.
Published: 2026-07-03
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

libcurl keeps established connections in a connection pool to speed up subsequent transfers. When an application changes options related to client certificates or private keys, the library incorrectly treats the connection as a match because it omits private‑key‑related configuration from the comparison. This flaw allows a malicious actor who can influence the client‑certificate configuration to reuse a previously established TLS session even after the certificate or private key has been changed, thereby potentially impersonating another authenticated client to a server that requires mutual TLS. The weakness is classified as CWE‑1025, a configuration mismatch that leads to the unintended reuse of secure connections.

Affected Systems

The affected product list identifies curl:curl in the CNA data. Any system that uses libcurl for mutual TLS and does not run a patched version may be vulnerable when client certificates or private keys are altered between connections. Detailed version information is not supplied by the CNAs for the affected releases.

Risk and Exploitability

The EPSS metric indicates a very low exploitation probability (<1%). The CVSS score of 7.5 reflects a high impact and medium to high exploitability. The flaw is not listed in CISA KEV. Based on the description, the likely attack vector is an attacker who can influence the client‑certificate or private‑key settings between requests – allowing libcurl to incorrectly reuse an authenticated TLS session that was originally established with a different certificate or key. This bypasses client authentication and could expose confidential traffic. libcurl performs persistent connection reuse for mutual TLS, so such misuse can lead to impersonation or session hijacking.

Generated by OpenCVE AI on July 21, 2026 at 10:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libcurl to the latest version that includes the patch for the mTLS connection‑reuse flaw.
  • If upgrading is not possible, configure libcurl to disable connection reuse during mutual TLS operations, for example by setting CURLOPT_FORBID_REUSE or CURLOPT_FRESH_CONNECT so each request initiates a new TLS handshake.
  • Ensure that when the application changes a client certificate or private key, it explicitly closes or clears existing connections to force a fresh TLS session.

Generated by OpenCVE AI on July 21, 2026 at 10:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1025
References
Metrics threat_severity

None

threat_severity

Important


Mon, 06 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Mon, 06 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Sun, 05 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-640

Sun, 05 Jul 2026 01:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-640

Sat, 04 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285
CWE-287

Sat, 04 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285
CWE-287

Fri, 03 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285
CWE-287

Fri, 03 Jul 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Fri, 03 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285
CWE-287

Fri, 03 Jul 2026 06:45:00 +0000

Type Values Removed Values Added
Description libcurl would reuse a previously created connection even when some mTLS config related option had been changed that should have prohibited reuse. libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, some TLS settings related to client certificates were left out from the configuration match checks, making them match too easily. In particular options related to the private key.
Title incomplete mTLS config matching in conn reuse
References

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-07-06T16:59:07.104Z

Reserved: 2026-05-19T08:56:58.825Z

Link: CVE-2026-8932

cve-icon Vulnrichment

Updated: 2026-07-06T16:59:01.856Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-03T06:16:30Z

Links: CVE-2026-8932 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T10:15:02Z

Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors