USN-8487-1: curl vulnerabilities

Publication date

30 June 2026

Overview

Several security issues were fixed in curl.


Packages

  • curl - HTTP, HTTPS, and FTP client and client libraries

Details

Andrew Nesbitt discovered that curl could reuse an existing live
connection during STARTTLS-based connection upgrades even when the TLS
configuration did not match. A remote attacker could possibly use this
issue to cause curl to use an unintended TLS configuration.
(CVE-2026-8286)

Muhamad Arga Reksapati discovered that curl incorrectly reused
connections for Negotiate-authenticated requests when different services
were involved. A remote attacker could possibly use this issue to access
resources authenticated for another service. This issue only affected
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS,
Ubuntu 25.10, and Ubuntu 26.04 LTS. (CVE-2026-8458)

It was discovered that curl incorrectly handled cookie parsing in
certain circumstances. A remote attacker could possibly use this issue
to set cookies that would be...

Andrew Nesbitt discovered that curl could reuse an existing live
connection during STARTTLS-based connection upgrades even when the TLS
configuration did not match. A remote attacker could possibly use this
issue to cause curl to use an unintended TLS configuration.
(CVE-2026-8286)

Muhamad Arga Reksapati discovered that curl incorrectly reused
connections for Negotiate-authenticated requests when different services
were involved. A remote attacker could possibly use this issue to access
resources authenticated for another service. This issue only affected
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS,
Ubuntu 25.10, and Ubuntu 26.04 LTS. (CVE-2026-8458)

It was discovered that curl incorrectly handled cookie parsing in
certain circumstances. A remote attacker could possibly use this issue
to set cookies that would be transmitted to unrelated third-party
domains. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, and
Ubuntu 26.04 LTS. (CVE-2026-8924)

Joshua Rogers discovered that curl could double-free a GSASL context
when handling SASL authentication. A remote attacker could possibly use
this issue to cause a denial of service, or execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, and
Ubuntu 26.04 LTS. (CVE-2026-8925)

Joshua Rogers discovered that curl could select the wrong password from
a .netrc file when a username was specified in the URL without a
password. A remote attacker could possibly use this issue to obtain
sensitive information. This issue only affected Ubuntu 25.10 and Ubuntu
26.04 LTS. (CVE-2026-8926)

Ady Elouej discovered that curl did not clear proxy authentication
state between requests when reusing a handle with environment-variable
proxy configuration. A remote attacker could possibly use this issue to
obtain sensitive credentials. (CVE-2026-8927)

Guannan Wang, Zhanpeng Liu, Jiashuo Liang, and Guancheng Li discovered
that curl did not properly clear proxy authentication credentials when
instructed to do so. A remote attacker could possibly use this issue to
obtain sensitive credentials. This issue only affected Ubuntu 25.10 and
Ubuntu 26.04 LTS. (CVE-2026-9079)

Joshua Rogers discovered that curl contained a use-after-free when
curl_easy_pause() was called within the event-based socket callback. A
remote attacker could possibly use this issue to cause a denial of service
or possibly execute arbitrary code. This issue only affected Ubuntu 25.10
and Ubuntu 26.04 LTS. (CVE-2026-9080)

Eunsoo Kim discovered that curl could send early data on a resumed TLS
session before enforcing certificate verification failure. A
machine-in-the-middle attacker could possibly use this issue to obtain
sensitive information. This issue only affected Ubuntu 25.10 and Ubuntu
26.04 LTS. (CVE-2026-9545)

Joshua Rogers discovered that curl did not properly reject host key
type mismatches when using the SSH key callback for SCP and SFTP
transfers. A machine-in-the-middle attacker could possibly use this
issue to impersonate a trusted server. This issue only affected Ubuntu
22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, and Ubuntu 26.04 LTS.
(CVE-2026-9547)


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.04 LTS resolute curl –  8.18.0-1ubuntu2.2
libcurl3t64-gnutls –  8.18.0-1ubuntu2.2
libcurl4-gnutls-dev –  8.18.0-1ubuntu2.2
libcurl4-openssl-dev –  8.18.0-1ubuntu2.2
libcurl4t64 –  8.18.0-1ubuntu2.2
25.10 questing curl –  8.14.1-2ubuntu1.4
libcurl3t64-gnutls –  8.14.1-2ubuntu1.4
libcurl4-gnutls-dev –  8.14.1-2ubuntu1.4
libcurl4-openssl-dev –  8.14.1-2ubuntu1.4
libcurl4t64 –  8.14.1-2ubuntu1.4
24.04 LTS noble curl –  8.5.0-2ubuntu10.10
libcurl3t64-gnutls –  8.5.0-2ubuntu10.10
libcurl4-gnutls-dev –  8.5.0-2ubuntu10.10
libcurl4-openssl-dev –  8.5.0-2ubuntu10.10
libcurl4t64 –  8.5.0-2ubuntu10.10
22.04 LTS jammy curl –  7.81.0-1ubuntu1.25
libcurl3-gnutls –  7.81.0-1ubuntu1.25
libcurl3-nss –  7.81.0-1ubuntu1.25
libcurl4 –  7.81.0-1ubuntu1.25
libcurl4-gnutls-dev –  7.81.0-1ubuntu1.25
libcurl4-nss-dev –  7.81.0-1ubuntu1.25
libcurl4-openssl-dev –  7.81.0-1ubuntu1.25
20.04 LTS focal curl –  7.68.0-1ubuntu2.25+esm4  
libcurl3-gnutls –  7.68.0-1ubuntu2.25+esm4  
libcurl3-nss –  7.68.0-1ubuntu2.25+esm4  
libcurl4 –  7.68.0-1ubuntu2.25+esm4  
libcurl4-gnutls-dev –  7.68.0-1ubuntu2.25+esm4  
libcurl4-nss-dev –  7.68.0-1ubuntu2.25+esm4  
libcurl4-openssl-dev –  7.68.0-1ubuntu2.25+esm4  
18.04 LTS bionic curl –  7.58.0-2ubuntu3.24+esm9  
libcurl3-gnutls –  7.58.0-2ubuntu3.24+esm9  
libcurl3-nss –  7.58.0-2ubuntu3.24+esm9  
libcurl4 –  7.58.0-2ubuntu3.24+esm9  
libcurl4-gnutls-dev –  7.58.0-2ubuntu3.24+esm9  
libcurl4-nss-dev –  7.58.0-2ubuntu3.24+esm9  
libcurl4-openssl-dev –  7.58.0-2ubuntu3.24+esm9  
16.04 LTS xenial curl –  7.47.0-1ubuntu2.19+esm16  
libcurl3 –  7.47.0-1ubuntu2.19+esm16  
libcurl3-gnutls –  7.47.0-1ubuntu2.19+esm16  
libcurl3-nss –  7.47.0-1ubuntu2.19+esm16  
libcurl4-gnutls-dev –  7.47.0-1ubuntu2.19+esm16  
libcurl4-nss-dev –  7.47.0-1ubuntu2.19+esm16  
libcurl4-openssl-dev –  7.47.0-1ubuntu2.19+esm16  
14.04 LTS trusty curl –  7.35.0-1ubuntu2.20+esm20  
libcurl3 –  7.35.0-1ubuntu2.20+esm20  
libcurl3-gnutls –  7.35.0-1ubuntu2.20+esm20  
libcurl3-nss –  7.35.0-1ubuntu2.20+esm20  
libcurl4-gnutls-dev –  7.35.0-1ubuntu2.20+esm20  
libcurl4-nss-dev –  7.35.0-1ubuntu2.20+esm20  
libcurl4-openssl-dev –  7.35.0-1ubuntu2.20+esm20  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›