ALAS2023-2026-3156


Amazon Linux 2023 Security Advisory: ALAS2023-2026-3156
Advisory Released Date: 2026-10-12
Advisory Updated Date: 2026-10-12
Severity: Important

Issue Overview:

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. (CVE-2026-96512)


Affected Packages:

sudo


Issue Correction:
Run dnf update sudo --releasever 2023.12.20261012 or dnf update --advisory ALAS2023-2026-3156 --releasever 2023.12.20261012 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    sudo-logsrvd-debuginfo-1.9.15-1.p5.amzn2023.0.4.aarch64
    sudo-devel-1.9.15-1.p5.amzn2023.0.4.aarch64
    sudo-logsrvd-1.9.15-1.p5.amzn2023.0.4.aarch64
    sudo-debuginfo-1.9.15-1.p5.amzn2023.0.4.aarch64
    sudo-python-plugin-debuginfo-1.9.15-1.p5.amzn2023.0.4.aarch64
    sudo-python-plugin-1.9.15-1.p5.amzn2023.0.4.aarch64
    sudo-1.9.15-1.p5.amzn2023.0.4.aarch64
    sudo-debugsource-1.9.15-1.p5.amzn2023.0.4.aarch64

src:
    sudo-1.9.15-1.p5.amzn2023.0.4.src

x86_64:
    sudo-debugsource-1.9.15-1.p5.amzn2023.0.4.x86_64
    sudo-logsrvd-debuginfo-1.9.15-1.p5.amzn2023.0.4.x86_64
    sudo-devel-1.9.15-1.p5.amzn2023.0.4.x86_64
    sudo-debuginfo-1.9.15-1.p5.amzn2023.0.4.x86_64
    sudo-1.9.15-1.p5.amzn2023.0.4.x86_64
    sudo-python-plugin-debuginfo-1.9.15-1.p5.amzn2023.0.4.x86_64
    sudo-python-plugin-1.9.15-1.p5.amzn2023.0.4.x86_64
    sudo-logsrvd-1.9.15-1.p5.amzn2023.0.4.x86_64