An OpenSSL version check on Ubuntu 16.04 could print the same 1.0.2g banner before and after a security update. The package did change. The short banner identifies the upstream base, not the full Ubuntu build or its patch history. That distinction matters when a version check guides an upgrade or a dependency decision.
Poor Version Reporting Practices Create Confusion
Ubuntu may backport security fixes to a stable package rather than replace it wholesale with a newer upstream release. The Ubuntu package revision advances, but the version that OpenSSL prints may still identify the original upstream base. The examples below show why the two identifiers should not be used interchangeably.
Ubuntu package revision 4.13 and upstream OpenSSL 1.0.2p
Canonical’s June 26, 2018 security notice for Ubuntu 16.04 lists the fixes delivered in 1.0.2g-1ubuntu4.13. The package changelog records those patches. Upstream OpenSSL 1.0.2p was released on August 14, 2018. Both releases addressed CVE-2018-0732 and CVE-2018-0737, but Ubuntu’s notice also lists CVE-2018-0495. The overlap neither makes the fix lists identical nor turns the Ubuntu package into a full 1.0.2p release.
Ubuntu package revision 4.15 and upstream OpenSSL 1.0.2r
Upstream released 1.0.2r on February 26, 2019. Canonical’s February 27 security notice identifies 1.0.2g-1ubuntu4.15 as the Ubuntu 16.04 fixed revision for CVE-2019-1559. The Ubuntu changelog records that fix and still identifies the base as 1.0.2g. The shared fix does not mean Ubuntu installed 1.0.2r.
Minor Versions Matter Too
OpenSSL’s letter suffixes distinguish patch releases in the upstream 1.0.2 series. Ubuntu’s package revisions distinguish the distribution builds. Checking only the upstream banner might incorrectly flag a known backported issue as unfixed. It can also hide a real difference between two Ubuntu builds that display the same banner. For a feature requirement, check the feature or the package’s actual capabilities; a backport of one fix does not imply the features of a later release.
Why Accurate Versions Are Important
Use the full installed package revision and your Ubuntu release when you compare against a Canonical security notice. The OpenSSL command and the shared library an application uses are not necessarily from the same package or even from the same installation. If you’re investigating an application rather than the CLI, identify its actual library first.
command -v openssl
openssl version -a
dpkg-query -W -f='${Package}\t${Version}\n' openssl
apt-cache policy openssl
The OpenSSL version command reports its own program information; dpkg-query reads the installed package record, and apt-cache policy shows installed and candidate versions. These commands inspect local state; they don’t install anything. For the historical Xenial examples, the notices identify libssl1.0.0 as the relevant library package. This article is a historical example, not a recommendation to run these old package revisions.