UBUNTU-CVE-2026-1965 (CVE-2026-1965)
Vulnerability from osv_ubuntu – Published: 2026-03-11 18:00 – Updated: 2026-05-20 15:24 – Source websitelibcurl 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 just 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": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.68.0-1ubuntu2.25+esm3"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.68.0-1ubuntu2.25+esm3"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.68.0-1ubuntu2.25+esm3"
},
{
"binary_name": "libcurl4",
"binary_version": "7.68.0-1ubuntu2.25+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.68.0-1ubuntu2.25+esm3?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.68.0-1ubuntu2.25+esm3"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.81.0-1ubuntu1.23"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.81.0-1ubuntu1.23"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.81.0-1ubuntu1.23"
},
{
"binary_name": "libcurl4",
"binary_version": "7.81.0-1ubuntu1.23"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.81.0-1ubuntu1.23?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.81.0-1ubuntu1.23"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "8.5.0-2ubuntu10.8"
},
{
"binary_name": "libcurl3t64-gnutls",
"binary_version": "8.5.0-2ubuntu10.8"
},
{
"binary_name": "libcurl4t64",
"binary_version": "8.5.0-2ubuntu10.8"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@8.5.0-2ubuntu10.8?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.5.0-2ubuntu10.8"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "8.14.1-2ubuntu1.2"
},
{
"binary_name": "libcurl3t64-gnutls",
"binary_version": "8.14.1-2ubuntu1.2"
},
{
"binary_name": "libcurl4t64",
"binary_version": "8.14.1-2ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@8.14.1-2ubuntu1.2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.14.1-2ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "8.18.0-1ubuntu2"
},
{
"binary_name": "libcurl3t64-gnutls",
"binary_version": "8.18.0-1ubuntu2"
},
{
"binary_name": "libcurl4t64",
"binary_version": "8.18.0-1ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@8.18.0-1ubuntu2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.18.0-1ubuntu2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.14.1-2ubuntu1",
"8.17.0-1ubuntu1",
"8.18.0-1ubuntu1"
]
}
],
"aliases": [],
"details": "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 just 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\u0027s 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).",
"id": "UBUNTU-CVE-2026-1965",
"modified": "2026-05-20T15:24:27Z",
"published": "2026-03-11T18:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-1965"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-1965"
},
{
"type": "REPORT",
"url": "https://curl.se/docs/CVE-2026-1965.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8084-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8099-1"
}
],
"related": [
"USN-8084-1",
"USN-8099-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-1965"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.