p PatchFirst

CVE-2026-1965

CVE-2026-1965 · bad reuse of HTTP Negotiate connection

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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

CVSS 6.5 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • curl

    Versions
    • ≥ 7.10.6, < 8.14.2: Affected (semver)
    • ≥ 8.15.0, < 8.16.1: Affected (semver)
    • ≥ 8.17.0, < 8.19.0: Affected (semver)

    Update to 8.14.2; Update to 8.16.1; Update to 8.19.0

  • curl

    Versions
    • ≥ e56ae1426cb7a0a4a427cf8d6099a821fdaae428, < f1a39f221d57354990e3eeeddc3404aede2aff70: Affected (git)

    No fix published

  • curl

    Versions
    • 8.18.0: Affected
    • 8.17.0: Affected
    • 8.16.0: Affected
    • 8.15.0: Affected
    • 8.14.1: Affected
    • 8.14.0: Affected
    • 8.13.0: Affected
    • 8.12.1: Affected
    • 8.12.0: Affected
    • 8.11.1: Affected
    • 8.11.0: Affected
    • 8.10.1: Affected
    • 8.10.0: Affected
    • 8.9.1: Affected
    • 8.9.0: Affected
    • 8.8.0: Affected
    • 8.7.1: Affected
    • 8.7.0: Affected
    • 8.6.0: Affected
    • 8.5.0: Affected
    • 8.4.0: Affected
    • 8.3.0: Affected
    • 8.2.1: Affected
    • 8.2.0: Affected
    • 8.1.2: Affected
    • 8.1.1: Affected
    • 8.1.0: Affected
    • 8.0.1: Affected
    • 8.0.0: Affected
    • 7.88.1: Affected
    • 7.88.0: Affected
    • 7.87.0: Affected
    • 7.86.0: Affected
    • 7.85.0: Affected
    • 7.84.0: Affected
    • 7.83.1: Affected
    • 7.83.0: Affected
    • 7.82.0: Affected
    • 7.81.0: Affected
    • 7.80.0: Affected
    • 7.79.1: Affected
    • 7.79.0: Affected
    • 7.78.0: Affected
    • 7.77.0: Affected
    • 7.76.1: Affected
    • 7.76.0: Affected
    • 7.75.0: Affected
    • 7.74.0: Affected
    • 7.73.0: Affected
    • 7.72.0: Affected
    • 7.71.1: Affected
    • 7.71.0: Affected
    • 7.70.0: Affected
    • 7.69.1: Affected
    • 7.69.0: Affected
    • 7.68.0: Affected
    • 7.67.0: Affected
    • 7.66.0: Affected
    • 7.65.3: Affected
    • 7.65.2: Affected
    • 7.65.1: Affected
    • 7.65.0: Affected
    • 7.64.1: Affected
    • 7.64.0: Affected
    • 7.63.0: Affected
    • 7.62.0: Affected
    • 7.61.1: Affected
    • 7.61.0: Affected
    • 7.60.0: Affected
    • 7.59.0: Affected
    • 7.58.0: Affected
    • 7.57.0: Affected
    • 7.56.1: Affected
    • 7.56.0: Affected
    • 7.55.1: Affected
    • 7.55.0: Affected
    • 7.54.1: Affected
    • 7.54.0: Affected
    • 7.53.1: Affected
    • 7.53.0: Affected
    • 7.52.1: Affected
    • 7.52.0: Affected
    • 7.51.0: Affected
    • 7.50.3: Affected
    • 7.50.2: Affected
    • 7.50.1: Affected
    • 7.50.0: Affected
    • 7.49.1: Affected
    • 7.49.0: Affected
    • 7.48.0: Affected
    • 7.47.1: Affected
    • 7.47.0: Affected
    • 7.46.0: Affected
    • 7.45.0: Affected
    • 7.44.0: Affected
    • 7.43.0: Affected
    • 7.42.1: Affected
    • 7.42.0: Affected
    • 7.41.0: Affected
    • 7.40.0: Affected
    • 7.39.0: Affected
    • 7.38.0: Affected

    No fix published

  • curl Debian:12

    Versions
    • 7.88.1-10
    • 7.88.1-10+deb12u1
    • 7.88.1-10+deb12u11
    • 7.88.1-10+deb12u12
    • 7.88.1-10+deb12u13
    • 7.88.1-10+deb12u14
    • 7.88.1-10+deb12u15
    • 7.88.1-10+deb12u1~bpo11+1
    • 7.88.1-10+deb12u2
    • 7.88.1-10+deb12u3
    • 7.88.1-10+deb12u3~bpo11+1
    • 7.88.1-10+deb12u4
    • 7.88.1-10+deb12u5
    • 7.88.1-10+deb12u5~bpo11+1
    • 7.88.1-10+deb12u6
    • 7.88.1-10+deb12u6~bpo11+1
    • 7.88.1-10+deb12u7
    • 7.88.1-10+deb12u8
    • 7.88.1-10+deb12u9
    • 7.88.1-11
    • 8.0.1-1~exp1
    • 8.10.0-1
    • 8.10.0-2
    • 8.10.1-1
    • 8.10.1-1~bpo12+1
    • 8.10.1-2
    • 8.11.0-1
    • 8.11.1-1
    • 8.11.1-1~bpo12+1
    • 8.12.0+git20250209.89ed161+ds-1
    • 8.12.0+git20250209.89ed161+ds-1~bpo12+1
    • 8.12.1-1
    • 8.12.1-2
    • 8.12.1-2~bpo12+1
    • 8.12.1-3
    • 8.12.1-3~bpo12+1
    • 8.13.0-1
    • 8.13.0-1+exp1
    • 8.13.0-2
    • 8.13.0-2+exp1
    • 8.13.0-3
    • 8.13.0-4
    • 8.13.0-4+exp1
    • 8.13.0-5
    • 8.13.0-5+exp1
    • 8.13.0-5~bpo12+1
    • 8.13.0~rc-1~exp1
    • 8.13.0~rc-1~exp2
    • 8.13.0~rc2-1
    • 8.13.0~rc2-2
    • 8.13.0~rc3-1
    • 8.13.0~rc3-1+exp1
    • 8.14.0-1
    • 8.14.0-1+exp1
    • 8.14.0~rc1-1+exp1
    • 8.14.0~rc2-1+exp1
    • 8.14.0~rc3-1+exp1
    • 8.14.1-1
    • 8.14.1-1~bpo12+1
    • 8.14.1-2
    • 8.14.1-2+exp1
    • 8.14.1-2~bpo12+1
    • 8.15.0-1
    • 8.15.0-1~bpo13+1
    • 8.15.0-1~exp1
    • 8.15.0~rc1-1exp1
    • 8.15.0~rc2-1~exp1
    • 8.15.0~rc3-1~exp1
    • 8.16.0-1
    • 8.16.0-1+exp1
    • 8.16.0-1~bpo13+1
    • 8.16.0-2
    • 8.16.0-3
    • 8.16.0-4
    • 8.16.0-4~bpo13+1
    • 8.16.0~rc1-1~exp1
    • 8.16.0~rc2-1
    • 8.16.0~rc2-2
    • 8.16.0~rc3-1
    • 8.17.0-1
    • 8.17.0-2
    • 8.17.0-3
    • 8.17.0~rc1-1~exp1
    • 8.17.0~rc2-1
    • 8.17.0~rc3-1
    • 8.18.0-1
    • 8.18.0-1~bpo13+1
    • 8.18.0-2
    • 8.18.0~rc1-1+exp1
    • 8.18.0~rc2-1
    • 8.18.0~rc3-1
    • 8.19.0-1
    • 8.19.0-1+exp1
    • 8.19.0-1~bpo13+1
    • 8.19.0-2
    • 8.19.0-3
    • 8.19.0-3+exp1
    • 8.19.0-3+exp2
    • 8.19.0~rc1-1~exp1
    • 8.19.0~rc2-1
    • 8.19.0~rc2-2
    • 8.19.0~rc3-1
    • 8.2.1-1
    • 8.2.1-2
    • 8.2.1-2~bpo12+1
    • 8.20.0-1
    • 8.20.0-1+exp
    • 8.20.0-2
    • 8.20.0-2+exp1
    • 8.20.0-2~bpo13+1
    • 8.20.0-3
    • 8.20.0-4
    • 8.20.0-5
    • 8.20.0-5~bpo13+1
    • 8.20.0~rc1-1+exp1
    • 8.20.0~rc1-1+exp2
    • 8.20.0~rc1-1+exp3
    • 8.20.0~rc2-1
    • 8.20.0~rc2-1+exp1
    • 8.20.0~rc3-1
    • 8.20.0~rc3-1+exp1
    • 8.21.0-1
    • 8.21.0-1+exp1
    • 8.21.0-2
    • 8.21.0-2+exp1
    • 8.21.0-2~bpo13+1
    • 8.21.0~rc1-1+exp1
    • 8.21.0~rc2-1
    • 8.21.0~rc2-1+exp1
    • 8.21.0~rc3-1
    • 8.21.0~rc3-1+exp1
    • 8.22.0-1
    • 8.22.0-1+exp1
    • 8.22.0~rc2-1
    • 8.22.0~rc2-2
    • 8.22.0~rc3-1
    • 8.22.0~rc3-1+exp1
    • 8.23.0~rc1-1
    • 8.23.0~rc1-2
    • 8.23.0~rc2-1
    • 8.23.0~rc2-1+exp1
    • 8.3.0-1
    • 8.3.0-2
    • 8.3.0-2~bpo12+1
    • 8.3.0-2~exp1
    • 8.3.0-3
    • 8.4.0-1
    • 8.4.0-2
    • 8.4.0-2~bpo12+1
    • 8.5.0-1
    • 8.5.0-1+exp1
    • 8.5.0-2
    • 8.5.0-2+exp1
    • 8.5.0-2~bpo12+1
    • 8.6.0-1
    • 8.6.0-1.1
    • 8.6.0-2
    • 8.6.0-3
    • 8.6.0-3.1
    • 8.6.0-3.1~exp1
    • 8.6.0-3.1~exp2
    • 8.6.0-3.2
    • 8.6.0-4
    • 8.7.1-1
    • 8.7.1-1+exp1
    • 8.7.1-2
    • 8.7.1-3
    • 8.7.1-4
    • 8.7.1-5
    • 8.7.1-5+exp1
    • 8.7.1-5~bpo12+1
    • 8.8.0-1
    • 8.8.0-1+exp1
    • 8.8.0-1+exp2
    • 8.8.0-1~bpo12+1
    • 8.8.0-2
    • 8.8.0-3
    • 8.8.0-4
    • 8.9.0-1
    • 8.9.0-2
    • 8.9.0-3
    • 8.9.1-1
    • 8.9.1-2
    • 8.9.1-2~bpo12+1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • curl Debian:13

    Versions
    • 8.14.1-2
    • 8.14.1-2+deb13u1
    • 8.14.1-2+deb13u2
    • 8.14.1-2+deb13u2~bpo13+1
    • 8.14.1-2+deb13u3
    Affected ranges
    • ECOSYSTEM: < 8.14.1-2+deb13u4

    Update to 8.14.1-2+deb13u4

  • curl Debian:14

    Versions
    • 8.14.1-2
    • 8.14.1-2+exp1
    • 8.15.0-1
    • 8.15.0-1~bpo13+1
    • 8.15.0-1~exp1
    • 8.15.0~rc1-1exp1
    • 8.15.0~rc2-1~exp1
    • 8.15.0~rc3-1~exp1
    • 8.16.0-1
    • 8.16.0-1+exp1
    • 8.16.0-1~bpo13+1
    • 8.16.0-2
    • 8.16.0-3
    • 8.16.0-4
    • 8.16.0-4~bpo13+1
    • 8.16.0~rc1-1~exp1
    • 8.16.0~rc2-1
    • 8.16.0~rc2-2
    • 8.16.0~rc3-1
    • 8.17.0-1
    • 8.17.0-2
    • 8.17.0-3
    • 8.17.0~rc1-1~exp1
    • 8.17.0~rc2-1
    • 8.17.0~rc3-1
    • 8.18.0-1
    • 8.18.0-1~bpo13+1
    • 8.18.0-2
    • 8.18.0~rc1-1+exp1
    • 8.18.0~rc2-1
    • 8.18.0~rc3-1
    • 8.19.0~rc1-1~exp1
    • 8.19.0~rc2-1
    • 8.19.0~rc2-2
    Affected ranges
    • ECOSYSTEM: < 8.19.0~rc3-1

    Update to 8.19.0~rc3-1

  • curl Ubuntu:Pro:20.04:LTS

    Versions
    • 7.65.3-1ubuntu3
    • 7.65.3-1ubuntu4
    • 7.66.0-1ubuntu1
    • 7.67.0-2ubuntu1
    • 7.68.0-1ubuntu1
    • 7.68.0-1ubuntu2
    • 7.68.0-1ubuntu2.1
    • 7.68.0-1ubuntu2.2
    • 7.68.0-1ubuntu2.4
    • 7.68.0-1ubuntu2.5
    • 7.68.0-1ubuntu2.6
    • 7.68.0-1ubuntu2.7
    • 7.68.0-1ubuntu2.10
    • 7.68.0-1ubuntu2.11
    • 7.68.0-1ubuntu2.12
    • 7.68.0-1ubuntu2.13
    • 7.68.0-1ubuntu2.14
    • 7.68.0-1ubuntu2.15
    • 7.68.0-1ubuntu2.16
    • 7.68.0-1ubuntu2.18
    • 7.68.0-1ubuntu2.19
    • 7.68.0-1ubuntu2.20
    • 7.68.0-1ubuntu2.21
    • 7.68.0-1ubuntu2.22
    • 7.68.0-1ubuntu2.23
    • 7.68.0-1ubuntu2.24
    • 7.68.0-1ubuntu2.25
    • 7.68.0-1ubuntu2.25+esm2
    Affected ranges
    • ECOSYSTEM: < 7.68.0-1ubuntu2.25+esm3

    Update to 7.68.0-1ubuntu2.25+esm3

  • curl Ubuntu:22.04:LTS

    Versions
    • 7.74.0-1.3ubuntu2
    • 7.74.0-1.3ubuntu3
    • 7.80.0-3
    • 7.81.0-1
    • 7.81.0-1ubuntu1.1
    • 7.81.0-1ubuntu1.2
    • 7.81.0-1ubuntu1.3
    • 7.81.0-1ubuntu1.4
    • 7.81.0-1ubuntu1.6
    • 7.81.0-1ubuntu1.7
    • 7.81.0-1ubuntu1.8
    • 7.81.0-1ubuntu1.10
    • 7.81.0-1ubuntu1.11
    • 7.81.0-1ubuntu1.13
    • 7.81.0-1ubuntu1.14
    • 7.81.0-1ubuntu1.15
    • 7.81.0-1ubuntu1.16
    • 7.81.0-1ubuntu1.17
    • 7.81.0-1ubuntu1.18
    • 7.81.0-1ubuntu1.19
    • 7.81.0-1ubuntu1.20
    • 7.81.0-1ubuntu1.21
    • 7.81.0-1ubuntu1.22
    Affected ranges
    • ECOSYSTEM: < 7.81.0-1ubuntu1.23

    Update to 7.81.0-1ubuntu1.23

  • curl Ubuntu:24.04:LTS

    Versions
    • 8.2.1-1ubuntu3
    • 8.2.1-1ubuntu3.1
    • 8.4.0-2ubuntu1
    • 8.5.0-2ubuntu1
    • 8.5.0-2ubuntu2
    • 8.5.0-2ubuntu8
    • 8.5.0-2ubuntu9
    • 8.5.0-2ubuntu10
    • 8.5.0-2ubuntu10.1
    • 8.5.0-2ubuntu10.2
    • 8.5.0-2ubuntu10.3
    • 8.5.0-2ubuntu10.4
    • 8.5.0-2ubuntu10.5
    • 8.5.0-2ubuntu10.6
    • 8.5.0-2ubuntu10.7
    Affected ranges
    • ECOSYSTEM: < 8.5.0-2ubuntu10.8

    Update to 8.5.0-2ubuntu10.8

  • curl Ubuntu:25.10

    Versions
    • 8.12.1-3ubuntu1
    • 8.13.0-5ubuntu1
    • 8.14.1-1ubuntu2
    • 8.14.1-1ubuntu3
    • 8.14.1-2ubuntu1
    • 8.14.1-2ubuntu1.1
    Affected ranges
    • ECOSYSTEM: < 8.14.1-2ubuntu1.2

    Update to 8.14.1-2ubuntu1.2

  • curl Ubuntu:26.10

    Affected ranges
    • ECOSYSTEM: < 8.18.0-1ubuntu2

    Update to 8.18.0-1ubuntu2

  • curl Ubuntu:26.04:LTS

    Versions
    • 8.14.1-2ubuntu1
    • 8.17.0-1ubuntu1
    • 8.18.0-1ubuntu1
    Affected ranges
    • ECOSYSTEM: < 8.18.0-1ubuntu2

    Update to 8.18.0-1ubuntu2

Original sources

Check your server →