Description
Each Ubuntu LTS release gets five years of standard security maintenance for the packages of
the main and restricted components. Expanded Security Maintenance (ESM), part of Ubuntu Pro,
then extends it for five more years (esm-infra), and also covers universe (esm-apps, see
CB-UBU-PKG-014). After the standard period, a system only receives security fixes for main if
it is attached to Ubuntu Pro with esm-infra enabled. Interim releases (YY.10) are supported
for nine months only.
On 2026-10-19: standard security maintenance ends in April 2027 for 22.04, April 2029 for
24.04 and April 2031 for 26.04; 20.04 left it in May 2025 and is supported only with
esm-infra (until April 2030). Move a release from supported_versions to esm_versions
when its standard support ends, and remove it from both at the end of ESM (see the Ubuntu
release cycle page). Plan upgrades before the date rather than after.
Rationale
An unsupported release accumulates known, public, unfixed vulnerabilities. No configuration
hardening compensates for that. A release past its standard support looks maintained (the
archive still answers, apt-get upgrade reports nothing) while fixes are published only in
ESM, which makes this failure easy to miss.
Impact
Upgrading to the next LTS release needs planning and testing of the hosted applications. Keeping an older release needs an Ubuntu Pro subscription for each system.
Setting
| Location | /etc/os-release, Ubuntu Pro client status |
| Recommended | One of {{ supported_versions }}, or one of {{ esm_versions }} with esm-infra enabled |
Parameters
| Parameter | Core | Server | Server hardened | Desktop | Desktop hardened | Bounds |
|---|---|---|---|---|---|---|
supported_versionslist. Ubuntu releases (VERSION_ID) under standard security maintenance. | 22.04, 24.04, 26.04 | 22.04, 24.04, 26.04 | 22.04, 24.04, 26.04 | 22.04, 24.04, 26.04 | 22.04, 24.04, 26.04 | |
esm_versionslist. Ubuntu releases (VERSION_ID) past standard security maintenance and still covered by Ubuntu Pro ESM; accepted only when esm-infra is enabled. | 20.04 | 20.04 | 20.04 | 20.04 | 20.04 |
The value used is your override (tailoring file), else the profile's, else the one of the profile it extends, else the default. Bounds limit what an override may set.
Audit
- Run
. /etc/os-release; echo "$VERSION_ID"and compare with the dates on https://ubuntu.com/about/release-cycle. - For a release past its standard support,
pro statusmust show the system attached andesm-infraenabled.
Automated: every check must pass. Scanners report each check by its id.
release
VERSION_ID from /etc/os-release against the supported lists, and the esm-infra service of the Ubuntu Pro client.
script: |
v=$( (. /etc/os-release && printf '%s' "${VERSION_ID:-}") 2>/dev/null)
echo "VERSION_ID ${v:-none}, standard support: $CB_SUPPORTED_VERSIONS, ESM: $CB_ESM_VERSIONS"
for s in $CB_SUPPORTED_VERSIONS; do
[ "$s" = "$v" ] && exit 0
done
for s in $CB_ESM_VERSIONS; do
[ "$s" = "$v" ] || continue
if pro api u.pro.status.enabled_services.v1 2>/dev/null | grep -Eq '"name": ?"esm-infra"'; then
echo "esm-infra enabled"
exit 0
fi
echo "past standard support and esm-infra is not enabled"
exit 1
done
echo "release not supported"
exit 1
Remediation
Upgrade to a supported LTS release with do-release-upgrade, one LTS at a time, after testing
the hosted applications. Until then, attach the system to Ubuntu Pro
(pro attach <token>, or through Landscape or the cloud provider's Pro images) and run
pro enable esm-infra. Move systems running an interim release to an LTS release.
References
- Ubuntu release cycle Canonical, vendor-doc, accessed 2026-10-19
- Ubuntu - Expanded Security Maintenance Canonical, vendor-doc, accessed 2026-10-19
- Ubuntu Pro Client - How to enable ESM Infra Canonical, vendor-doc, accessed 2026-10-19
Mappings
| Framework | ID | Relation |
|---|---|---|
| ANSSI-BP-028 - Recommandations de configuration d'un système GNU/Linux2.0 | R61 | related |
| NIST SP 800-53 Rev. 55.1.1 | SA-22 | equivalent |
How this control relates to the other framework's: equivalent, stricter, looser, partial or related.
Threats mitigated
Related controls
- related
CB-UBU-PKG-006Configure the Ubuntu security pocket - related
CB-UBU-PKG-008Leave no security update pending - related
CB-UBU-PKG-014Receive security updates for every installed package, including universe (Ubuntu Pro esm-apps)
People and lifecycle
| Authors |
|
| Verified | 2026-10-19 by Sn0wAlice on 20.04, Proxmox VM, Ubuntu 20.04 cloud image, kernel 5.4.0-216-generic. Fails on stock (past standard support, not attached to Ubuntu Pro); passes with a shimmed Pro client reporting esm-infra enabled (no Pro token in the lab). |
| Verified | 2026-10-19 by Sn0wAlice on 22.04, Proxmox VM, Ubuntu 22.04 cloud image, kernel 5.15.0-198-generic. Passes with the default lists; with the release moved to esm_versions, fails without esm-infra and passes with a shimmed Pro client reporting it enabled. |
| Verified | 2026-10-19 by Sn0wAlice on 24.04, Proxmox VM, Ubuntu 24.04 cloud image, kernel 6.8.0-147-generic. Passes with the default lists; with the release moved to esm_versions, fails without esm-infra and passes with a shimmed Pro client reporting it enabled. |
| Verified | 2026-10-19 by Sn0wAlice on 26.04, Proxmox VM, Ubuntu 26.04 cloud image, kernel 7.0.0-38-generic. Passes with the default lists; with the release moved to esm_versions, fails without esm-infra and passes with a shimmed Pro client reporting it enabled. |
| Introduced in | v0.1.0 |
| Created, updated | 2026-10-19, 2026-10-19 |
| Translations | fr |