# CVE-2026-96512: Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-23 · Modified: 2026-10-29
- Aliases: RHSA-2026:71609, RHSA-2026:75571, RHSA-2026:75579, RHSA-2026:75580, UBUNTU-CVE-2026-96512, USN-8895-1, DEBIAN-CVE-2026-96512, ALPINE-CVE-2026-96512, USN-8895-2, RHSA-2026:86633, RHSA-2026:86634, RHSA-2026:86635, RHSA-2026:87026, RHSA-2026:90287, RHSA-2026:92325, RHSA-2026:92326, RHSA-2026:92349
- Record: https://cvemate.com/vulnerability/CVE-2026-96512 · JSON: https://cvemate.com/vulnerability/CVE-2026-96512/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.321%, percentile 27.019%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine sudo (Alpine Linux): \< 1.9.17\_p2-r2 \| \< 1.9.17\_p2-r4
- debian sudo (Debian): All versions (No fix recorded) \| \< 1.9.16p2-3+deb13u5 \| \< 1.9.17p2-9
- ubuntu sudo (Ubuntu): All versions (No fix recorded) \| \< 1.8.21p2-3ubuntu1.6+esm2 \| \< 1.8.31-1ubuntu1.5+esm2 \| \< 1.9.9-1ubuntu2.7 \| \< 1.9.15p5-3ubuntu5.24.04.4 \| \< 1.9.17p2-1ubuntu3.2
- redhat sudo (Red Hat): \< 0:1.9.17-16.p2.2.hum1 \| \< 0:1.9.17p2-3.el9\_8.3 \| \< 0:1.9.17-10.p2.el10\_2.7 \| \< 0:1.9.5p2-2.el8\_10 \| \< 0:1.9.15-8.p5.el10\_0.5 \| \< 0:1.9.5p2-10.el9\_6.4 \| \< 0:1.9.5p2-10.el9\_4.4 \| \< 0:1.9.5p2-1.el8\_8.4 \| \< 0:1.9.5p2-9.el9\_2.5 \| \< 0:1.8.29-7.el8\_4.4 \| \< 0:1.8.23-10.el7\_9.6 \| \< 0:1.9.5p2-1.el8\_6.4
- redhat sudo-debuginfo (Red Hat): \< 0:1.9.17p2-3.el9\_8.3 \| \< 0:1.9.17-10.p2.el10\_2.7 \| \< 0:1.9.5p2-2.el8\_10 \| \< 0:1.9.15-8.p5.el10\_0.5 \| \< 0:1.9.5p2-10.el9\_6.4 \| \< 0:1.9.5p2-10.el9\_4.4 \| \< 0:1.9.5p2-1.el8\_8.4 \| \< 0:1.9.5p2-9.el9\_2.5 \| \< 0:1.8.29-7.el8\_4.4 \| \< 0:1.8.23-10.el7\_9.6 \| \< 0:1.9.5p2-1.el8\_6.4
- redhat sudo-debugsource (Red Hat): \< 0:1.9.17p2-3.el9\_8.3 \| \< 0:1.9.17-10.p2.el10\_2.7 \| \< 0:1.9.5p2-2.el8\_10 \| \< 0:1.9.15-8.p5.el10\_0.5 \| \< 0:1.9.5p2-10.el9\_6.4 \| \< 0:1.9.5p2-10.el9\_4.4 \| \< 0:1.9.5p2-1.el8\_8.4 \| \< 0:1.9.5p2-9.el9\_2.5 \| \< 0:1.8.29-7.el8\_4.4 \| \< 0:1.9.5p2-1.el8\_6.4
- redhat sudo-devel (Red Hat): \< 0:1.9.17-16.p2.2.hum1 \| \< 0:1.8.23-10.el7\_9.6
- redhat sudo-logsrvd (Red Hat): \< 0:1.9.17-16.p2.2.hum1
- redhat sudo-python-plugin (Red Hat): \< 0:1.9.17-16.p2.2.hum1 \| \< 0:1.9.17p2-3.el9\_8.3 \| \< 0:1.9.17-10.p2.el10\_2.7 \| \< 0:1.9.15-8.p5.el10\_0.5 \| \< 0:1.9.5p2-10.el9\_6.4 \| \< 0:1.9.5p2-10.el9\_4.4 \| \< 0:1.9.5p2-9.el9\_2.5
- redhat sudo-python-plugin-debuginfo (Red Hat): \< 0:1.9.17p2-3.el9\_8.3 \| \< 0:1.9.17-10.p2.el10\_2.7 \| \< 0:1.9.15-8.p5.el10\_0.5 \| \< 0:1.9.5p2-10.el9\_6.4 \| \< 0:1.9.5p2-10.el9\_4.4 \| \< 0:1.9.5p2-9.el9\_2.5

## References (first 20 of 42)

- <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/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://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_71609.json>
- <https://www.cve.org/CVERecord?id=CVE-2026-96512>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-96512>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_75571.json>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_75579.json>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_75580.json>
- <https://ubuntu.com/security/CVE-2026-96512>
- <https://ubuntu.com/security/notices/USN-8895-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-96512>

---

Data as of 2026-12-05T02:41:02.960Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
