CVE-2026-96512
CVE-2026-96512 · Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization
This page contains facts from public vulnerability sources. Check the original advisory before updating.
A flaw was found in sudo. When sudoers rules use NOTBEFORE or NOTAFTER time-based access restrictions with timestamps that omit the trailing 'Z' timezone indicator, the time evaluation relies on the TZ environment variable inherited from the calling user. Because sudo is a setuid-root program, an unprivileged local user can set TZ to an extreme timezone offset to shift the authorization window by up to approximately 25 hours, causing expired rules to be treated as valid. This allows the user to execute commands outside the intended time window. Authentication is not bypassed; only the time-based authorization check is affected.
CVSS 7.8 · High · EPSS 0.1% · Public exploit · Fix available
- Published
- Updated
Stack: system
Affected products and versions
red hat enterprise linux 10
- Versions
- ≥ 0:1.9.17-10.p2.el10_2.7: Not affected (rpm)
No fix published
red hat enterprise linux 10.0 extended update support
- Versions
- ≥ 0:1.9.15-8.p5.el10_0.5: Not affected (rpm)
No fix published
red hat enterprise linux 8
- Versions
- ≥ 0:1.9.5p2-2.el8_10: Not affected (rpm)
No fix published
red hat enterprise linux 8.8 telecommunications update service
- Versions
- ≥ 0:1.9.5p2-1.el8_8.4: Not affected (rpm)
No fix published
red hat enterprise linux 8.8 update services for sap solutions
- Versions
- ≥ 0:1.9.5p2-1.el8_8.4: Not affected (rpm)
No fix published
red hat enterprise linux 9
- Versions
- ≥ 0:1.9.17p2-3.el9_8.3: Not affected (rpm)
No fix published
red hat enterprise linux 9.4 update services for sap solutions
- Versions
- ≥ 0:1.9.5p2-10.el9_4.4: Not affected (rpm)
No fix published
red hat enterprise linux 9.6 extended update support
- Versions
- ≥ 0:1.9.5p2-10.el9_6.4: Not affected (rpm)
No fix published
red hat hardened images
- Versions
- ≥ 1.9.17-16.p2.2.hum1: Not affected (rpm)
No fix published
red hat update infrastructure 5
- Versions
- ≥ 1791964013: Not affected (rpm)
No fix published
red hat update infrastructure 5
- Versions
- ≥ 1791978693: Not affected (rpm)
No fix published
red hat enterprise linux 7
No fix published
sudo Debian:12
- Versions
- 1.9.13p3-1
- 1.9.13p3-1+deb12u1
- 1.9.13p3-1+deb12u2
- 1.9.13p3-1+deb12u3
- 1.9.13p3-1+deb12u4
- 1.9.13p3-2
- 1.9.13p3-3
- 1.9.14p2-1
- 1.9.15p2-1
- 1.9.15p2-2
- 1.9.15p3-1
- 1.9.15p4-1
- 1.9.15p4-2
- 1.9.15p5-1
- 1.9.15p5-2
- 1.9.15p5-3
- 1.9.15p5-3+hurd.1
- 1.9.16-1
- 1.9.16-2
- 1.9.16p1-1
- 1.9.16p2-1
- 1.9.16p2-2
- 1.9.16p2-3
- 1.9.17p1-1
- 1.9.17p2-1
- 1.9.17p2-1exp1
- 1.9.17p2-2
- 1.9.17p2-3
- 1.9.17p2-4
- 1.9.17p2-5
- 1.9.17p2-6
- 1.9.17p2-7
- 1.9.17p2-8
- 1.9.17p2-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sudo Debian:13
- Versions
- 1.9.16p2-3
- 1.9.16p2-3+deb13u1
- 1.9.16p2-3+deb13u2
- 1.9.17p1-1
- 1.9.17p2-1
- 1.9.17p2-1exp1
- 1.9.17p2-2
- 1.9.17p2-3
- 1.9.17p2-4
- 1.9.17p2-5
- 1.9.17p2-6
- 1.9.17p2-7
- 1.9.17p2-8
- 1.9.17p2-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sudo Debian:14
- Versions
- 1.9.16p2-3
- 1.9.17p1-1
- 1.9.17p2-1
- 1.9.17p2-1exp1
- 1.9.17p2-2
- 1.9.17p2-3
- 1.9.17p2-4
- 1.9.17p2-5
- 1.9.17p2-6
- 1.9.17p2-7
- 1.9.17p2-8
- Affected ranges
- ECOSYSTEM: < 1.9.17p2-9
Update to 1.9.17p2-9
sudo Ubuntu:Pro:14.04:LTS
- Versions
- 1.8.6p3-0ubuntu3
- 1.8.8-2ubuntu1
- 1.8.8-2ubuntu2
- 1.8.9p4-1ubuntu1
- 1.8.9p4-1ubuntu2
- 1.8.9p5-1ubuntu1
- 1.8.9p5-1ubuntu1.1
- 1.8.9p5-1ubuntu1.2
- 1.8.9p5-1ubuntu1.3
- 1.8.9p5-1ubuntu1.4
- 1.8.9p5-1ubuntu1.5+esm1
- 1.8.9p5-1ubuntu1.5+esm2
- 1.8.9p5-1ubuntu1.5+esm3
- 1.8.9p5-1ubuntu1.5+esm5
- 1.8.9p5-1ubuntu1.5+esm6
- 1.8.9p5-1ubuntu1.5+esm7
- 1.8.9p5-1ubuntu1.5+esm8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sudo Ubuntu:Pro:16.04:LTS
- Versions
- 1.8.12-1ubuntu3
- 1.8.16-0ubuntu1
- 1.8.16-0ubuntu1.1
- 1.8.16-0ubuntu1.2
- 1.8.16-0ubuntu1.3
- 1.8.16-0ubuntu1.4
- 1.8.16-0ubuntu1.5
- 1.8.16-0ubuntu1.6
- 1.8.16-0ubuntu1.7
- 1.8.16-0ubuntu1.8
- 1.8.16-0ubuntu1.9
- 1.8.16-0ubuntu1.10
- 1.8.16-0ubuntu1.10+esm1
- 1.8.16-0ubuntu1.10+esm2
- 1.8.16-0ubuntu1.10+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sudo Ubuntu:Pro:18.04:LTS
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sudo Ubuntu:Pro:20.04:LTS
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sudo 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
- Affected ranges
- ECOSYSTEM: < 1.9.9-1ubuntu2.7
Update to 1.9.9-1ubuntu2.7
sudo 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
- Affected ranges
- ECOSYSTEM: < 1.9.15p5-3ubuntu5.24.04.4
Update to 1.9.15p5-3ubuntu5.24.04.4
sudo Ubuntu:26.04:LTS
- Versions
- 1.9.17p2-1ubuntu1
- 1.9.17p2-1ubuntu2
- 1.9.17p2-1ubuntu3
- 1.9.17p2-1ubuntu3.1
- Affected ranges
- ECOSYSTEM: < 1.9.17p2-1ubuntu3.2
Update to 1.9.17p2-1ubuntu3.2
Original sources
- https://access.redhat.com/errata/RHSA-2026:71609
- https://access.redhat.com/errata/RHSA-2026:75571
- https://access.redhat.com/errata/RHSA-2026:75579
- https://access.redhat.com/errata/RHSA-2026:75580
- https://access.redhat.com/errata/RHSA-2026:82939
- https://access.redhat.com/errata/RHSA-2026:86633
- https://access.redhat.com/errata/RHSA-2026:86634
- https://access.redhat.com/errata/RHSA-2026:86635
- https://access.redhat.com/errata/RHSA-2026:87026
- https://access.redhat.com/security/cve/CVE-2026-96512
- https://bugzilla.redhat.com/show_bug.cgi?id=2539327
- https://github.com/sudo-project/sudo/commit/1820a349687522f51023d1ae5925125f59679a8c
- http://www.openwall.com/lists/oss-security/2026/09/24/4
- https://nvd.nist.gov/vuln/detail/CVE-2026-96512