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

The updated description shows that libcurl can erroneously reuse an authenticated connection for a different service when Negotiate authentication is employed, even when the services are distinct. This logical flaw in the connection-pooling criteria permits an attacker to use a pre-authenticated channel to access a service for which they lack authorization, leading to potential confidentiality or integrity compromise.

Affected Systems

Any application that links against the libcurl library and uses Negotiate authentication with connection pooling is potentially impacted. The vendor is curl, product curl; no specific version information is disclosed in the CVE data, so all installations that employ these features should be considered at risk until a fix is applied.

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 chance of exploitation. The updated description points to a logical error in libcurl's reuse logic. The likely attack vector is an application that can force libcurl to reuse a connection that was authenticated for one service to satisfy a request for another service on the same server. If an attacker can trigger this reuse, unauthorized access remains possible.

Generated by OpenCVE AI on August 4, 2026 at 07:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libcurl to a version that fixes the authentication‑reuse bug
  • Configure libcurl to set CURLOPT_FORBID_REUSE (or an equivalent option) for all Negotiate‑authenticated requests, disabling connection reuse entirely
  • Instantiate separate libcurl handles for each distinct service that requires Negotiate authentication to prevent shared connection pools

Generated by OpenCVE AI on August 4, 2026 at 07:55 UTC.

Tracking

Sign in to view the affected projects.

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

Mon, 03 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Sun, 26 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

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

Status : Analyzed

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

Modified: 2026-07-07T23:12:17.003

Link: CVE-2026-8458

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T08:00:03Z

Weaknesses