USN-8670-2: curl vulnerability

Publication date

25 August 2026

Overview

curl could be made to expose sensitive information.


Packages

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

Details

USN-8670-1 fixed a vulnerability in curl. This update provides the
corresponding update for Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu
22.04 LTS.

Original advisory details:

Joshua Rogers discovered that curl incorrectly handled reusing
connections when client certificate settings changed. This could result
in the wrong client certificates being used, contrary to expectations.

USN-8670-1 fixed a vulnerability in curl. This update provides the
corresponding update for Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu
22.04 LTS.

Original advisory details:

Joshua Rogers discovered that curl incorrectly handled reusing
connections when client certificate settings changed. This could result
in the wrong client certificates being used, contrary to expectations.

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
22.04 LTS jammy curl –  7.81.0-1ubuntu1.27
libcurl3-gnutls –  7.81.0-1ubuntu1.27
libcurl3-nss –  7.81.0-1ubuntu1.27
libcurl4 –  7.81.0-1ubuntu1.27
libcurl4-gnutls-dev –  7.81.0-1ubuntu1.27
libcurl4-nss-dev –  7.81.0-1ubuntu1.27
libcurl4-openssl-dev –  7.81.0-1ubuntu1.27
20.04 LTS focal curl –  7.68.0-1ubuntu2.25+esm7  
libcurl3-gnutls –  7.68.0-1ubuntu2.25+esm7  
libcurl3-nss –  7.68.0-1ubuntu2.25+esm7  
libcurl4 –  7.68.0-1ubuntu2.25+esm7  
libcurl4-gnutls-dev –  7.68.0-1ubuntu2.25+esm7  
libcurl4-nss-dev –  7.68.0-1ubuntu2.25+esm7  
libcurl4-openssl-dev –  7.68.0-1ubuntu2.25+esm7  
18.04 LTS bionic curl –  7.58.0-2ubuntu3.24+esm12  
libcurl3-gnutls –  7.58.0-2ubuntu3.24+esm12  
libcurl3-nss –  7.58.0-2ubuntu3.24+esm12  
libcurl4 –  7.58.0-2ubuntu3.24+esm12  
libcurl4-gnutls-dev –  7.58.0-2ubuntu3.24+esm12  
libcurl4-nss-dev –  7.58.0-2ubuntu3.24+esm12  
libcurl4-openssl-dev –  7.58.0-2ubuntu3.24+esm12  

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 ›