To patch an OpenSSL CVE on Ubuntu, you must find your release and compare your installed package with the fixed version in the Ubuntu notice. Then, update only the OpenSSL packages, restart the services that still use the old library, and test HTTPS from outside. This guide covers the Ubuntu OpenSSL CVE patch process step by step.
Check and Patch OpenSSL CVEs on Ubuntu Without Breaking HTTPS
Table of Contents
- Ubuntu OpenSSL Advisory Example
- Step 1: Check Your Release and Version
- Step 2: Why OpenSSL Version Can Be Misleading
- Step 3: Update Only What Is Needed
- Step 4: Find Services Still Using the Old Library
- Step 5: Restart or Reboot Safely
- Step 6: Verify the Patch and HTTPS
- Check OpenSSL Vulnerability on Ubuntu: Quick Checklist
- Conclusion

Ubuntu OpenSSL Advisory Example
The example is Ubuntu notice USN-8847-1, published September 29, 2026. Ubuntu may publish newer notices, so always check the notice list before you patch.
USN-8847-1 fixes several OpenSSL issues on Ubuntu 26.04 LTS, 24.04 LTS, and 22.04 LTS. Two of the CVEs are CVE-2026-35189 and CVE-2026-84782.
You must reboot after a standard update to make all the changes take effect.
For Ubuntu 26.04, there is a newer notice, which is USN-8861-1. It lists libssl3t64 3.5.5-1ubuntu3.7 and fixes two QUIC service-crash issues. Always use the newest fixed version for your release.
Ubuntu 20.04 and older need Ubuntu Pro to get these fixes. They are listed in USN-8847-2, and the package version ends with "esm".
Now that you know your fixed version, follow the steps below to update, restart, and test.
Step 1: Check Your Release and Version
First, you must find which Ubuntu release and OpenSSL package version you are running. To do this, run the commands below:
Example output for Ubuntu 24.04:
Compare your installed version with the fixed version in the table. In this example, 3.0.13-0ubuntu3.15 is older than 3.0.13-0ubuntu3.16, so this server is not patched.
To check this yourself, run the following command. It prints "Needs update" if your version is older than the fixed one:
Step 2: Why OpenSSL Version Can Be Misleading
openssl version shows the upstream number, such as 3.0.13. Ubuntu keeps this number the same and adds security fixes into it. This is called a backport. The fix shows up in the last part of the package version (-0ubuntu3.16).
So OpenSSL 3.0.13 can be patched or not patched. Scanners that only read the upstream number usually give false alarms. Always check the full package version.
To see which CVEs your installed package fixes, check the package changelog:
Step 3: Update Only What Is Needed
Now update only the OpenSSL packages. This keeps the change small and lowers the risk of breaking something. First, take a backup or snapshot and run the commands below:
Note: On Ubuntu 22.04, use libssl3 instead of libssl3t64.
Run this command to confirm the new package version is installed:
You should see 3.0.13-0ubuntu3.16 or newer on 24.04.
Tips: If you need a safe place to test this, a Linux VPS with full root access is a good option.
Step 4: Find Services Still Using the Old Library
An update replaces files on disk. A running service keeps the old library in memory until you restart it. Run these commands to list services that still use the old library, check the kernel, and see if a reboot is needed:
Use the following command to find running processes that still use the old OpenSSL library. It shows each process as a /proc/<PID>/maps path. Run ps -p <PID> -o comm= to see the process name.
Common affected services are nginx, apache2, postfix, dovecot, sshd, haproxy and database servers.
Step 5: Restart or Reboot Safely
At this point, you must test the config, then restart the services one by one so you can catch problems early:
A reload may not be enough. The main process can keep the old library in memory, so use a restart.
If you restart sshd, keep your current session open. Test a new login before you close it.
A reboot is the safest and recommended choice. If the server is busy, pick a time with low traffic. Kernel hotpatching can fix some kernel issues without a reboot. It cannot update the OpenSSL library already loaded in memory.
Step 6: Verify the Patch and HTTPS
Finally, check that the patch worked and your site still loads over HTTPS.
Run these commands to check that no service needs a restart and that the new OpenSSL version is installed:
Then, run an HTTPS smoke test from another machine with your domain:
Here is an example output:
Look for these results: HTTP 200 (or your normal redirect), TLS 1.3 or 1.2, and Verify return code: 0 (ok). Also, check your app logs for TLS errors.
Check OpenSSL Vulnerability on Ubuntu: Quick Checklist
Use this short checklist each time Ubuntu publishes a new OpenSSL notice:
- Match your release to the Ubuntu notice.
- Compare the full package version, not
openssl version. - Update only the OpenSSL packages.
- Restart the listed services, or reboot.
- Test HTTPS from outside.
- Save the before and after package output as proof.
Tips: If you cannot test the fix or finish it safely, check which PerLod managed server support covers. Patching and incident fixes are not included by default.
Conclusion
For a safe OpenSSL fix, you must match your Ubuntu release, update the package, restart the services that use the old library, and test HTTPS from outside. Trust the full Ubuntu package version, not the number from openssl version.