CVE-2026-8932

incomplete mTLS config matching in conn reuse

Published Jul 3, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

libcurl maintains a pool of established TLS sessions that can be reused for performance. This vulnerability stems from the omission of client‑certificate‑related options, such as the private key, from the pool‑matching logic. When an application changes its client‑certificate or private‑key configuration between requests, libcurl may still consider a previously established connection a match and reuse it. The attacker can thus bind an authenticated TLS session that was originally established with one credential to a different set of credentials, effectively impersonating the authorised client. This behaviour corresponds to CWE-1025 and CWE-305.

Affected Systems

The affected product is the libcurl library, part of the curl project. All releases prior to the patch that fixes the configuration‑matching defect are vulnerable if an application alters the client‑certificate or private‑key settings between successive connections. The data does not specify particular version numbers.

Risk and Exploitability

The CVSS score of 7.5 denotes high potential impact. The EPSS score of <1% indicates a very low current exploitation probability, yet the vulnerability remains a risk in environments where client‑certificate settings are modified or where connection reuse is unrestricted. The vuln is not listed in CISA’s KEV catalog. An attacker with the ability to manipulate client‑certificate configuration between requests could exploit the reuse bug to bypass mutual TLS authentication. The likely attack vector is through an application that controls the client‑certificate parameters or by altering configuration files that libcurl consumes.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libcurl to a version that contains the mTLS connection‑reuse patch.
  • If an upgrade is not immediately possible, disable connection reuse for mutual‑TLS requests by setting CURLOPT_FORBID_REUSE or CURLOPT_FRESH_CONNECT, ensuring each request performs a fresh TLS handshake.
  • Verify that client‑certificate and private‑key settings do not change during a session; audit any configuration changes and restrict applications from modifying these settings between requests.

Generated by OpenCVE AI on September 21, 2026 at 07:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8670-1 curl vulnerability
Ubuntu USN Ubuntu USN USN-8670-2 curl vulnerability
Ubuntu USN Ubuntu USN USN-8670-3 curl vulnerability
History
Type Values Removed Values Added
Weaknesses CWE-305
Type Values Removed Values Added
Weaknesses CWE-287
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'}

Type Values Removed Values Added
Weaknesses CWE-287
Type Values Removed Values Added
Weaknesses CWE-20
CWE-640
Type Values Removed Values Added
Weaknesses CWE-20
CWE-640
Type Values Removed Values Added
Weaknesses CWE-285
CWE-287
Type Values Removed Values Added
Weaknesses CWE-285
CWE-287
Type Values Removed Values Added
Weaknesses CWE-285
CWE-287
Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Weaknesses CWE-285
CWE-287
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
curl
Published
Updated
Sep 15, 2026, 6:03 AM
Reserved
May 19, 2026, 8:56 AM
Status
Modified
Published
Jul 3, 2026, 7:16 AM
Modified
Sep 15, 2026, 7:16 AM
Severity
Important
Public date
Jul 3, 2026, 6:16 AM