Reach openssh · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
In ssh-keygen in OpenSSH before 10.6, certificates could have incorrect expiration times because of Daylight Saving mishandling. There can be a slightly more severe effect on users in certain Antarctic locations.
Published 2026-10-06NVD
CVSS 3.1Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
References 1
Fable 5.1 · high confidence · 2026-11-05
The vulnerable code is present: parse_absolute_time() in output/build/openssh-9.9p2/misc.c zeroes struct tm (tm_isdst=0) and calls mktime() for non-UTC validity strings, which is the DST mishandling fixed in OpenSSH 10.6 (tm_isdst=-1); none of the 18 applied Buildroot patches touch misc.c or this function.
ssh-keygen is shipped (BR2_PACKAGE_OPENSSH_KEY_UTILS=y, output/target/usr/bin/ssh-keygen), but the product only ever invokes it for key-format conversion (ssh-keygen -i -m PKCS8 in mksshkey) and known_hosts removal (ssh-keygen -R from the CLI); no YANG node, CLI command or boot service signs certificates (-s/-V).
The other callers of parse_absolute_time (sshd expiry-time= authorized_keys option, sshsig) are not reachable either: confd writes authorized_keys as plain "algorithm key-data name" with no options field and sshd_config has no TrustedUserCAKeys/HostCertificate.
Reaching the bug requires a root shell on the device and manually running ssh-keygen certificate signing with local-time -V values; it is not network reachable.
Evidence 9
memset(&tm,0) leaves tm_isdst=0 before mktime(); the 10.6 fix (tm_isdst=-1) is absent, so the build carries the vulnerable code
output/build/openssh-9.9p2/misc.c:2516-2525 (parse_absolute_time)
18 patches applied (CVE-2025-61984/61985, CVE-2026-35385..35414, CVE-2026-59995..60002, DisableForwarding); none reference CVE-2026-106584, misc.c or tm_isdst
output/build/openssh-9.9p2/.applied_patches_list
BR2_PACKAGE_OPENSSH=y with CLIENT, SERVER and KEY_UTILS enabled; ssh-keygen is installed in output/target/usr/bin/ssh-keygen
output/.config:3429-3433 and configs/x86_64_defconfig:93
All callers of parse_absolute_time: ssh-keygen -V certificate validity, authorized_keys expiry-time option, sshsig validity options
output/build/openssh-9.9p2/ssh-keygen.c:2024,2033,2721; auth-options.c:394; sshsig.c:667,681
Only boot/confd use of ssh-keygen is `ssh-keygen -i -f TMP -m PKCS8` (format conversion), no certificate signing or -V
board/common/rootfs/usr/libexec/infix/mksshkey:24
confd invokes mksshkey for hostkey generation; no other ssh-keygen invocation in confd
src/confd/src/keystore.c:77 (gen_hostkey)
CLI only runs `ssh-keygen -R <host>`; no CLI command for certificate creation
src/klish-plugin-infix/src/infix.c:839-842 (infix_ssh_remove_known_host)
authorized_keys lines are written as "algorithm key-data name" with no options prefix, so `expiry-time=` (sshd caller of parse_absolute_time) cannot be set via YANG
src/confd/src/system.c:1230-1235
Generated sshd config only sets HostKey/ListenAddress/AuthorizedKeysFile; no TrustedUserCAKeys or HostCertificate, so certificate validity is never evaluated by sshd
src/confd/src/services.c:710-718; board/common/rootfs/etc/ssh/sshd_config.d/var-auth.conf
Version and patches
NVD/upstream: affected before 10.6, fixed in OpenSSH 10.6 (tm_isdst=-1 before mktime in parse_absolute_time). Our source is 9.9p2 with 18 Buildroot patches; none backport this fix, and misc.c parse_absolute_time still shows the pre-fix code. Version match is correct.
Recommendation
Document as not applicable / no action required for this release: the affected ssh-keygen certificate-signing path is never exercised by the product and is not network reachable. Pick up the fix with the next routine OpenSSH upgrade (>= 10.6); no dedicated backport needed given the LOW (3.3, AV:L) severity.
Open questions
The upstream fix commit itself could not be fetched (read-only tree, no network); the identification of the fix as the tm_isdst=-1 change in parse_absolute_time is based on the 10.6 release notes description and the code in misc.c. An admin with shell access on the device could run ssh-keygen -s/-V manually, but that is outside the product's management interfaces.
Members of Kernel Kit decide. Sign in if you are one.