# CVE-2026-1965: bad reuse of HTTP Negotiate connection

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Published: 2026-03-11T08:00:00.000Z
- Modified: 2026-10-25T01:05:16.143Z
- Also known as: CURL-CVE-2026-1965
- Weaknesses: CWE-305
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: curl

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

(As written by CVE List.)

## Affected

- curl curl: from 7.10.6 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.19.0; from e56ae1426cb7a0a4a427cf8d6099a821fdaae428 before f1a39f221d57354990e3eeeddc3404aede2aff70; 8.18.0; 8.17.0; 8.16.0; 8.15.0; 8.14.1; 8.14.0; 8.13.0; 8.12.1; and 162 more
- https://github.com/curl/curl.git: from 7.10.6 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.19.0; from e56ae1426cb7a0a4a427cf8d6099a821fdaae428 before f1a39f221d57354990e3eeeddc3404aede2aff70
- haxx curl: from 7.10.6 before 8.19.0

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- curl: rating Medium

## References

- <https://curl.se/docs/CVE-2026-1965.json> (vendor-advisory)
- <https://curl.se/docs/CVE-2026-1965.html> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-1965](https://www.cve.org/CVERecord?id=CVE-2026-1965), CVE Terms of Use, modified 2026-09-15
- curl: [CURL-CVE-2026-1965](https://osv.dev/vulnerability/CURL-CVE-2026-1965), MIT, modified 2026-10-25
- NVD: [CVE-2026-1965](https://nvd.nist.gov/vuln/detail/CVE-2026-1965), Public domain, modified 2026-09-15

---

Page: https://cve.day/CVE-2026-1965 · Whole record: https://cve.day/CVE-2026-1965.json · Rebuilt by cve.day 2026-11-25T22:59:15.729Z
