sudo vulnerability
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.
- Products
- sudo
- Affected versions
- 1.9.14p2-1ubuntu1, 1.9.15p5-3ubuntu1, 1.9.15p5-3ubuntu3, 1.9.15p5-3ubuntu4, 1.9.15p5-3ubuntu5, 1.9.15p5-3ubuntu5.24.04.1, 1.9.15p5-3ubuntu5.24.04.2, 1.9.15p5-3ubuntu5.24.04.3, 1.9.17p2-1ubuntu1, 1.9.17p2-1ubuntu2, 1.9.17p2-1ubuntu3, 1.9.17p2-1ubuntu3.1, 1.9.5p2-3ubuntu2, 1.9.9-1ubuntu2, 1.9.9-1ubuntu2.1, 1.9.9-1ubuntu2.2, 1.9.9-1ubuntu2.3, 1.9.9-1ubuntu2.4, 1.9.9-1ubuntu2.5, 1.9.9-1ubuntu2.6
- Fixed versions
- 1.9.15p5-3ubuntu5.24.04.4, 1.9.17p2-1ubuntu3.2, 1.9.9-1ubuntu2.7
- CVEs
- CVE-2026-96512
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 09:09 UTC · Revision 1
Source evidence
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.
osv:USN-8895-1
sudo
Fixed versions: 1.9.9-1ubuntu2.7
sudo
Fixed versions: 1.9.15p5-3ubuntu5.24.04.4
sudo
Fixed versions: 1.9.17p2-1ubuntu3.2
Complete source record
{
"id": "564001806e41fead3d9b5792859f0896f314edd73f7f7c0ed707fa96279ae58b",
"url": "https://osv.dev/vulnerability/USN-8895-1",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "sudo vulnerability",
"summary": "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.",
"evidence": "osv:USN-8895-1",
"products": [
{
"name": {
"value": "sudo",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.9.9-1ubuntu2.7",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "1.9.5p2-3ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "1.9.9-1ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "1.9.9-1ubuntu2.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.9.9-1ubuntu2.2",
"evidence": "/affected/0/versions"
},
{
"value": "1.9.9-1ubuntu2.3",
"evidence": "/affected/0/versions"
},
{
"value": "1.9.9-1ubuntu2.4",
"evidence": "/affected/0/versions"
},
{
"value": "1.9.9-1ubuntu2.5",
"evidence": "/affected/0/versions"
},
{
"value": "1.9.9-1ubuntu2.6",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "sudo",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.9.15p5-3ubuntu5.24.04.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "1.9.14p2-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "1.9.15p5-3ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "1.9.15p5-3ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "1.9.15p5-3ubuntu4",
"evidence": "/affected/1/versions"
},
{
"value": "1.9.15p5-3ubuntu5",
"evidence": "/affected/1/versions"
},
{
"value": "1.9.15p5-3ubuntu5.24.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "1.9.15p5-3ubuntu5.24.04.2",
"evidence": "/affected/1/versions"
},
{
"value": "1.9.15p5-3ubuntu5.24.04.3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "sudo",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.9.17p2-1ubuntu3.2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "1.9.17p2-1ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "1.9.17p2-1ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "1.9.17p2-1ubuntu3",
"evidence": "/affected/2/versions"
},
{
"value": "1.9.17p2-1ubuntu3.1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "USN-8895-1",
"aliases": [
"USN-8895-1"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.9.9-1ubuntu2.7"
}
]
}
],
"package": {
"name": "sudo",
"purl": "pkg:deb/ubuntu/sudo?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.9.5p2-3ubuntu2",
"1.9.9-1ubuntu2",
"1.9.9-1ubuntu2.1",
"1.9.9-1ubuntu2.2",
"1.9.9-1ubuntu2.3",
"1.9.9-1ubuntu2.4",
"1.9.9-1ubuntu2.5",
"1.9.9-1ubuntu2.6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8895-1.json",
"cves_map": {
"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"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sudo",
"binary_version": "1.9.9-1ubuntu2.7"
},
{
"binary_name": "sudo-ldap",
"binary_version": "1.9.9-1ubuntu2.7"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.9.15p5-3ubuntu5.24.04.4"
}
]
}
],
"package": {
"name": "sudo",
"purl": "pkg:deb/ubuntu/sudo?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.9.14p2-1ubuntu1",
"1.9.15p5-3ubuntu1",
"1.9.15p5-3ubuntu3",
"1.9.15p5-3ubuntu4",
"1.9.15p5-3ubuntu5",
"1.9.15p5-3ubuntu5.24.04.1",
"1.9.15p5-3ubuntu5.24.04.2",
"1.9.15p5-3ubuntu5.24.04.3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8895-1.json",
"cves_map": {
"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"
}
]
}
],
"ecosystem": "Ubuntu:24.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnss-sudo",
"binary_version": "1.9.15p5-3ubuntu5.24.04.4"
},
{
"binary_name": "sudo",
"binary_version": "1.9.15p5-3ubuntu5.24.04.4"
},
{
"binary_name": "sudo-ldap",
"binary_version": "1.9.15p5-3ubuntu5.24.04.4"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.9.17p2-1ubuntu3.2"
}
]
}
],
"package": {
"name": "sudo",
"purl": "pkg:deb/ubuntu/sudo?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.9.17p2-1ubuntu1",
"1.9.17p2-1ubuntu2",
"1.9.17p2-1ubuntu3",
"1.9.17p2-1ubuntu3.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8895-1.json",
"cves_map": {
"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"
}
]
}
],
"ecosystem": "Ubuntu:26.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnss-sudo",
"binary_version": "1.9.17p2-1ubuntu3.2"
},
{
"binary_name": "sudo",
"binary_version": "1.9.17p2-1ubuntu3.2"
}
],
"availability": "No subscription required"
}
}
],
"modified": "2026-10-08T12:58:02.692756797Z",
"provider": "osv",
"upstream": [
"CVE-2026-96512",
"UBUNTU-CVE-2026-96512"
],
"references": [
"https://ubuntu.com/security/notices/USN-8895-1",
"https://ubuntu.com/security/CVE-2026-96512"
]
},
"related_cves": [
{
"value": "CVE-2026-96512",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 99611,
"published_at": "2026-10-07T13:12:22+00:00"
}