USN-8895-2 (UBUNTU-CVE-2026-96512)
Vulnerability from osv_ubuntu – Published: 2026-11-12 20:06 – Updated: 2026-11-24 09:39 – Source websiteUSN-8895-1 fixed a vulnerability in Sudo. This update provides the corresponding updates for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
Original advisory details:
It was discovered that Sudo did not properly handle time-based access restrictions when sudoers rules used NOTBEFORE or NOTAFTER with timestamps omitting the trailing timezone indicator. A local attacker could possibly use this issue to execute commands outside the intended time window by manipulating the TZ environment variable.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-96512",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
},
"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"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "sudo",
"purl": "pkg:deb/ubuntu/sudo@1.8.21p2-3ubuntu1.6+esm2?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.21p2-3ubuntu1.6+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-96512",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"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"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "sudo",
"purl": "pkg:deb/ubuntu/sudo@1.8.31-1ubuntu1.5+esm2?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.31-1ubuntu1.5+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
}
],
"aliases": [],
"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.",
"id": "USN-8895-2",
"modified": "2026-11-24T09:39:25Z",
"published": "2026-11-12T20:06:18Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8895-2"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-96512"
}
],
"related": [],
"schema_version": "1.9.2",
"summary": "sudo vulnerability",
"upstream": [
"UBUNTU-CVE-2026-96512"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.