{"id":"USN-8895-2","summary":"sudo vulnerability","details":"USN-8895-1 fixed a vulnerability in Sudo. This update provides the\ncorresponding updates for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.\n\nOriginal advisory details:\n\nIt was discovered that Sudo did not properly handle time-based access\nrestrictions when sudoers rules used NOTBEFORE or NOTAFTER with\ntimestamps omitting the trailing timezone indicator. A local attacker\ncould possibly use this issue to execute commands outside the intended\ntime window by manipulating the TZ environment variable.","modified":"2026-11-13T11:28:24.741238446Z","published":"2026-11-12T20:06:18Z","related":["UBUNTU-CVE-2026-96512"],"upstream":["CVE-2026-96512","UBUNTU-CVE-2026-96512"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8895-2"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-96512"}],"affected":[{"package":{"name":"sudo","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/sudo?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.21p2-3ubuntu1.6+esm2"}]}],"versions":["1.8.20p2-1ubuntu1","1.8.21p2-2ubuntu1","1.8.21p2-3ubuntu1","1.8.21p2-3ubuntu1.1","1.8.21p2-3ubuntu1.2","1.8.21p2-3ubuntu1.3","1.8.21p2-3ubuntu1.4","1.8.21p2-3ubuntu1.5","1.8.21p2-3ubuntu1.6","1.8.21p2-3ubuntu1.6+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"sudo","binary_version":"1.8.21p2-3ubuntu1.6+esm2"},{"binary_name":"sudo-ldap","binary_version":"1.8.21p2-3ubuntu1.6+esm2"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2026-96512","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8895-2.json"}},{"package":{"name":"sudo","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/sudo?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.31-1ubuntu1.5+esm2"}]}],"versions":["1.8.27-1ubuntu4","1.8.29-1ubuntu1","1.8.31-1ubuntu1","1.8.31-1ubuntu1.1","1.8.31-1ubuntu1.2","1.8.31-1ubuntu1.4","1.8.31-1ubuntu1.5","1.8.31-1ubuntu1.5+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"sudo","binary_version":"1.8.31-1ubuntu1.5+esm2"},{"binary_name":"sudo-ldap","binary_version":"1.8.31-1ubuntu1.5+esm2"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-96512"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8895-2.json"}}],"schema_version":"1.9.2"}