Description
libcurl might in some circumstances reuse the wrong connection when asked to
do Negotiate-authenticated ones, even when they are set to use different
'services'.

libcurl features a pool of recent connections so that subsequent requests can
reuse an existing connection to avoid overhead.

When reusing a connection a range of criteria must be met. Due to a logical
error in the code, a request that was issued by an application could
wrongfully reuse an existing connection to the same server that was
authenticated using different services.
Published: 2026-07-03
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

libcurl may reuse a Negotiate‑authenticated connection opened for one service when an application requests a different service on the same server. Due to a logical error in the pooling logic, the library fails to verify the authentication service type, allowing a request to wrongfully reuse a previous connection. This flaw permits an authorization bypass and is identified as CWE‑287.

Affected Systems

The vulnerability affects the libcurl library in any application that employs Negotiate authentication and connection pooling. Versions and patch status are not disclosed; any installation using these features remains at risk until updated.;

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, while the EPSS score of less than 1% and absence from the CISA KEV catalog suggest a low likelihood of exploitation. The likely attack vector involves a vulnerable application that can influence connection‑reuse decisions, such as prompting libcurl to reuse a pooled connection for a different service. Although the risk remains moderate, public exploitation is expected to be rare.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libcurl to the latest release that application to set CURLOPT_FORBID_REUSE or an equivalent option to 1 for all Negotiate‑authenticated requests, thereby disabling reuse of pooled connections.
  • If an upgrade is not immediately possible, modify the code to clear the connection pool or force fresh connections for each Negotiate‑authenticated request.
  • Use separate libcurl handles for each service that requires Negotiate authentication to prevent unintended shared connection pools.

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8487-1 curl vulnerabilities
History

Fri, 17 Jul 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Sun, 12 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Sat, 11 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

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

Type Values Removed Values Added
Weaknesses CWE-287

Thu, 09 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Wed, 08 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-862

Wed, 08 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-862

Tue, 07 Jul 2026 12:30:00 +0000

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

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

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

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

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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


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

Type Values Removed Values Added
Weaknesses CWE-640

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

Type Values Removed Values Added
Weaknesses CWE-640

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

Type Values Removed Values Added
Weaknesses CWE-287

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

Type Values Removed Values Added
Weaknesses CWE-287

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

Type Values Removed Values Added
Weaknesses CWE-287

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

Type Values Removed Values Added
Weaknesses CWE-287

Sat, 04 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285

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

Type Values Removed Values Added
Weaknesses CWE-285

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

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

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

Type Values Removed Values Added
Description libcurl might in some circumstances reuse the wrong connection when asked to do Negotiate-authenticated ones, even when they are set to use different 'services'. libcurl features a pool of recent connections so that subsequent requests can reuse an existing connection to avoid overhead. When reusing a connection a range of criteria must be met. Due to a logical error in the code, a request that was issued by an application could wrongfully reuse an existing connection to the same server that was authenticated using different services.
Title wrong reuse for different services
References

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-07-06T17:32:06.018Z

Reserved: 2026-05-13T08:33:36.632Z

Link: CVE-2026-8458

cve-icon Vulnrichment

Updated: 2026-07-06T17:31:59.712Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses