Vulnerability in curl
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2026-1965 has been found in curl.
Attackers can target a specific entry point like CURLOPT_HTTPAUTH over the network to misuse the product.
Data can be tampered with by attackers.
What to do: upgrade curl to 7.68.0-1ubuntu2.25+esm3 or later.
If unsure, ask your IT team or search "curl UBUNTU-CVE-2026-1965" on the vendor's site.
UBUNTU-CVE-2026-1965 (curl)
Attack vector: remote (network-reachable) / no user interaction
Attack surface: CURLOPT_HTTPAUTH / CURLOPT_FRESH_CONNECT / CURLOPT_MAXCONNECTS / CURLMOPT_MAX_HOST_CONNECTIONS
Patched: 7.68.0-1ubuntu2.25+esm3 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in curl. Attackers reach the vulnerable code path via CURLOPT_HTTPAUTH.
Check the vendor advisory for the affected versions of curl. Attack surface: CURLOPT_HTTPAUTH / CURLOPT_FRESH_CONNECT / CURLOPT_MAXCONNECTS / CURLMOPT_MAX_HOST_CONNECTIONS.
Severity: ?. Data can be tampered with by attackers.
Update to 7.68.0-1ubuntu2.25+esm3.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'curl' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'curl' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
curlを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade curl to 7.68.0-1ubuntu2.25+esm3ステージング環境で 7.68.0-1ubuntu2.25+esm3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:20.04:LTScurl |
< 7.68.0-1ubuntu2.25+esm3→ 7.68.0-1ubuntu2.25+esm3 |
7.68.0-1ubuntu2.25+esm3 |
| Ubuntu:22.04:LTScurl |
< 7.81.0-1ubuntu1.23→ 7.81.0-1ubuntu1.23 |
7.81.0-1ubuntu1.23 |
| Ubuntu:24.04:LTScurl |
< 8.5.0-2ubuntu10.8→ 8.5.0-2ubuntu10.8 |
8.5.0-2ubuntu10.8 |
| Ubuntu:25.10curl |
< 8.14.1-2ubuntu1.2→ 8.14.1-2ubuntu1.2 |
8.14.1-2ubuntu1.2 |
| Ubuntu:26.04:LTScurl |
< 8.18.0-1ubuntu2→ 8.18.0-1ubuntu2 |
8.18.0-1ubuntu2 |
| Ubuntu:26.10curl |
< 8.18.0-1ubuntu2→ 8.18.0-1ubuntu2 |
8.18.0-1ubuntu2 |
Original description The description as published by the source.
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_MAX…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report curl.se