Vulnerability · Published Mar 11, 2026 · Assigned by curl

CVE-2026-1965bad reuse of HTTP Negotiate connection

Medium 6.5

In plain English

A medium-severity security flaw in curl from curl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 77.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

libcurl can in some circumstances reuse the wrong connection when asked to do an Negotiate-authenticated HTTP or HTTPS request. 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 criterion must first 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 credentials. One underlying reason being that Negotiate sometimes authenticates *connections* and not *requests*, contrary to how HTTP is designed to work. An application that allows Negotiate authentication to a server (that responds wanting Negotiate) with `user1:password1` and then does another operation to the same server also using Negotiate but with `user2:password2` (while the previous connection is still alive) - the second request wrongly reused the same connection and since it then sees that the Negotiate negotiation is already made, it sends the request over that connection thinking it uses the user2 credentials when it is in fact still using the connection authenticated for user1... The set of authentication methods to use is set with `CURLOPT_HTTPAUTH`. Applications can disable libcurl's reuse of connections and thus mitigate this problem, by using one of the following libcurl options to alter how connections are or are not reused: `CURLOPT_FRESH_CONNECT`, `CURLOPT_MAXCONNECTS` and `CURLMOPT_MAX_HOST_CONNECTIONS` (if using the curl_multi API).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9curl7.76.1-40.el9_8.5ALSA-2026:55439
AlmaLinux:9curl-minimal7.76.1-40.el9_8.5ALSA-2026:55439
AlmaLinux:9libcurl7.76.1-40.el9_8.5ALSA-2026:55439
AlmaLinux:9libcurl-devel7.76.1-40.el9_8.5ALSA-2026:55439
AlmaLinux:9libcurl-minimal7.76.1-40.el9_8.5ALSA-2026:55439
Alpine:v3.21curl8.14.1-r3ALPINE-CVE-2026-1965
Alpine:v3.22curl8.14.1-r4ALPINE-CVE-2026-1965
Alpine:v3.23curl8.19.0-r0ALPINE-CVE-2026-1965
Alpine:v3.24curl8.19.0-r0ALPINE-CVE-2026-1965
Debian:12curlno fix listedDEBIAN-CVE-2026-1965
Debian:13curl8.14.1-2+deb13u4DEBIAN-CVE-2026-1965
Debian:14curl8.19.0~rc3-1DEBIAN-CVE-2026-1965
Rocky Linux:9curl0:7.76.1-40.el9_8.5RLSA-2026:55439
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.23USN-8084-1
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.23UBUNTU-CVE-2026-1965
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.8USN-8084-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.8UBUNTU-CVE-2026-1965
Ubuntu:25.10curl8.14.1-2ubuntu1.2UBUNTU-CVE-2026-1965
Ubuntu:25.10curl8.14.1-2ubuntu1.2USN-8084-1
Ubuntu:26.04:LTScurl8.18.0-1ubuntu2UBUNTU-CVE-2026-1965
Ubuntu:26.10curl8.18.0-1ubuntu2UBUNTU-CVE-2026-1965

Affected products (as reported)

VendorProductVersions
curl curl 7.10.6 – before 8.14.28.15.0 – before 8.16.18.17.0 – before 8.19.0
curl curl e56ae1426cb7a0a4a427cf8d6099a821fdaae428 – before f1a39f221d57354990e3eeeddc3404aede2aff70
curl curl 8.18.08.17.08.16.08.15.08.14.18.14.08.13.08.12.1

Weakness: CWE-305 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

References