CVEfocus › CVE database › CVE-2026-1965

CVE-2026-1965bad reuse of HTTP Negotiate connection

CVSS 6.5 MediumEPSS 0.3% (higher than 23% of CVEs)Published 2026-03-11Updated 2026-09-15Assigner: curl

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).

CWE-305

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

38Fixed
14Fix pending
51Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10curlFixed8.18.0-1ubuntu2UBUNTU-CVE-2026-1965
Ubuntu 26.04curlFixed8.18.0-1ubuntu2UBUNTU-CVE-2026-1965
Ubuntu 25.10curlFixed8.14.1-2ubuntu1.2UBUNTU-CVE-2026-1965
Ubuntu 24.04curlFixed8.5.0-2ubuntu10.8UBUNTU-CVE-2026-1965
Ubuntu 22.04curlFixed7.81.0-1ubuntu1.23UBUNTU-CVE-2026-1965
Ubuntu 20.04curlFix pending7.68.0-1ubuntu2.25+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-1965
Debian 14curlFixed8.19.0~rc3-1DEBIAN-CVE-2026-1965
Debian 13curlFixed8.14.1-2+deb13u4DEBIAN-CVE-2026-1965
Debian 12curlFix pendingDEBIAN-CVE-2026-1965
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10curlFixed0:8.12.1-9.el10_3RHSA-2026:55450
Red Hat Enterprise Linux 10libcurlFixed0:8.12.1-4.el10_2.3RHSA-2026:100685
Red Hat Enterprise Linux 10libcurl-develFixed0:8.12.1-4.el10_2.3RHSA-2026:100685
Red Hat Enterprise Linux 10libcurl-minimalFixed0:8.12.1-9.el10_3RHSA-2026:55450
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 10s390utilsNot affected
Red Hat Enterprise Linux 10s390utils-baseNot affected
Red Hat Enterprise Linux 10s390utils-chreipl-fcp-mpathNot affected
Red Hat Enterprise Linux 10s390utils-cmsfs-fuseNot affected
Red Hat Enterprise Linux 10s390utils-coreNot affected
Red Hat Enterprise Linux 10s390utils-cpacfstatsdNot affected
Red Hat Enterprise Linux 10s390utils-cpuplugdNot affected
Red Hat Enterprise Linux 10s390utils-develNot affected
Red Hat Enterprise Linux 10s390utils-hmcdrvfsNot affected
Red Hat Enterprise Linux 10s390utils-iucvtermNot affected
Red Hat Enterprise Linux 10s390utils-mon_statdNot affected
Red Hat Enterprise Linux 10s390utils-osasnmpdNot affected
Red Hat Enterprise Linux 10s390utils-se-dataNot affected
Red Hat Enterprise Linux 10s390utils-zdsfsNot affected
Red Hat Enterprise Linux 10s390utils-ziomonNot affected
Red Hat Enterprise Linux 10snphostFix pending
Affected
Red Hat Enterprise Linux 10trustee-guest-componentsNot affected
Red Hat Enterprise Linux 10trustee-kbsNot affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9curlFixed0:7.76.1-40.el9_8.5RHSA-2026:100686
Red Hat Enterprise Linux 9curl-minimalFixed0:7.76.1-44.el9_9.1RHSA-2026:55439
Red Hat Enterprise Linux 9libcurlFixed0:7.76.1-40.el9_8.5RHSA-2026:100686
Red Hat Enterprise Linux 9libcurl-develFixed0:7.76.1-44.el9_9.1RHSA-2026:55439
Red Hat Enterprise Linux 9libcurl-minimalFixed0:7.76.1-44.el9_9.1RHSA-2026:55439
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 9snphostFix pending
Affected
Red Hat Enterprise Linux 9trustee-guest-componentsNot affected
Red Hat Enterprise Linux 8curlFix pending
Fix deferred
Red Hat Enterprise Linux 8libcurlFix pending
Fix deferred
Red Hat Enterprise Linux 8libcurl-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libcurl-minimalFix pending
Fix deferred
Red Hat Enterprise Linux 7curlFix pending
Fix deferred
Red Hat Enterprise Linux 7libcurlFix pending
Fix deferred
Red Hat Enterprise Linux 7libcurl-develFix pending
Fix deferred
Red Hat Enterprise Linux 6curlFix pending
Fix deferred
Red Hat Enterprise Linux 6libcurlFix pending
Fix deferred
Red Hat Enterprise Linux 6libcurl-develFix pending
Fix deferred
AlmaLinux 10curlFixed8.12.1-9.el10_3ALSA-2026:100685
AlmaLinux 10libcurlFixed8.12.1-9.el10_3ALSA-2026:100685
AlmaLinux 10libcurl-develFixed8.12.1-9.el10_3ALSA-2026:100685
AlmaLinux 10libcurl-minimalFixed8.12.1-9.el10_3ALSA-2026:100685
AlmaLinux 9curlFixed7.76.1-40.el9_8.5ALSA-2026:100686
AlmaLinux 9curl-minimalFixed7.76.1-44.el9_9.1ALSA-2026:55439
AlmaLinux 9libcurlFixed7.76.1-44.el9_9.1ALSA-2026:55439
AlmaLinux 9libcurl-develFixed7.76.1-40.el9_8.5ALSA-2026:100686
AlmaLinux 9libcurl-minimalFixed7.76.1-44.el9_9.1ALSA-2026:55439
Rocky Linux 10curlFixed0:8.12.1-9.el10_3RLSA-2026:100685
Rocky Linux 10libcurlFixed0:8.12.1-9.el10_3RLSA-2026:100685
Rocky Linux 10libcurl-develFixed0:8.12.1-9.el10_3RLSA-2026:100685
Rocky Linux 10libcurl-minimalFixed0:8.12.1-9.el10_3RLSA-2026:100685
Rocky Linux 9curlFixed0:7.76.1-44.el9_9.1RLSA-2026:55439
Rocky Linux 9curl-minimalFixed0:7.76.1-44.el9_9.1RLSA-2026:100686
Rocky Linux 9libcurlFixed0:7.76.1-44.el9_9.1RLSA-2026:100686
Rocky Linux 9libcurl-develFixed0:7.76.1-44.el9_9.1RLSA-2026:100686
Rocky Linux 9libcurl-minimalFixed0:7.76.1-44.el9_9.1RLSA-2026:100686
Alpine Linux 3.24curlFixed8.19.0-r0ALPINE-CVE-2026-1965
Alpine Linux 3.23curlFixed8.19.0-r0ALPINE-CVE-2026-1965
Alpine Linux 3.22curlFixed8.14.1-r4ALPINE-CVE-2026-1965
Alpine Linux 3.21curlFixed8.14.1-r3ALPINE-CVE-2026-1965

What the vendor says

As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.