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 pool for reuse. When an application changes client‑certificate or private‑key settings, the library excludes private‑key parameters from its configuration‑match check, so the altered settings still match an old connection. This gap allows an attacker who can modify the client‑certificate configuration between requests to reuse a previously authenticated TLS session that was established with a different certificate or key, thereby impersonating a legitimate client. The vulnerability is classified as CWE‑1025, a configuration mismatch that leads to unintended reuse of secure connections.

Affected Systems

The affected product is libcurl, used in many programs that perform mutual TLS. Any system that relies on libcurl for mTLS and does not run a patched version may be vulnerable when the client certificate or private key is changed between connections. Vendor‑specific version information is not supplied in the CNA data, so all unpatched libcurl releases are potentially affected.

Risk and Exploitability

The EPSS score of <1% shows a very low exploitation probability, yet the CVSS score of 7.5 indicates a high impact should the flaw be exploited. The risk is compounded when an attacker can influence client‑certificate settings between requests, enabling them to reuse a secured connection and bypass mutual‑TLS authentication. The vulnerability is not listed in CISA KEV, but the impact can expose confidential data and grant unauthorized access to services that require client certificates.

Generated by OpenCVE AI on July 31, 2026 at 14:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libcurl to the version that contains the mTLS connection‑reuse patch.
  • If an upgrade is not immediately possible, configure libcurl to disable connection reuse for mutual‑TLS requests by setting CURLOPT_FORBID_REUSE or CURLOPT_FRESH_CONNECT, so each request initiates a new TLS handshake.
  • Verify that client‑certificate settings are consistently applied and are not altered between requests to prevent unintended connection reuse.

Generated by OpenCVE AI on July 31, 2026 at 14:52 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

Status : Analyzed

Published: 2026-07-03T07:16:25.363

Modified: 2026-07-07T23:18:32.137

Link: CVE-2026-8932

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-8932 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T15:00:04Z

Weaknesses