OpenBSD OpenSSH: ssh-keygen can issue certificates with wrong expiration times

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-106584?

CVE-2026-106584 is a vulnerability classified as Off-by-one Error, affecting OpenSSH (affected versions: < 10.6). This vulnerability is rated Low, with a CVSS score of 3.3. Current sources do not report this vulnerability as exploited.

Overview

Original source data

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.

Affected products and scope

OpenSSH releases earlier than the fixed release are listed as affected, specifically the ssh-keygen certificate handling path. The fixed release is the one where the vendor addressed the Daylight Saving calculation. Deployments that generate or sign SSH certificates with ssh-keygen should check their version. Deployments that do not use OpenSSH certificates fall outside the behaviour described in the record.

Technical details

ssh-keygen generates and signs OpenSSH certificates and records a validity interval in them. The record says the expiration time can be wrong because daylight saving time is mishandled. It classifies the defect as CWE-193, an off-by-one error, which here means the calculated boundary of the validity period can land one step away from the intended time. The description notes a slightly more severe effect for users in certain Antarctic locations, which points to time zone and daylight saving rules in those places, but the record gives no further mechanism, affected code path, or examples. Public technical detail is limited.

Exploitability

The issue is reachable locally through ssh-keygen, not over the network. The record carries two different views of the attack requirements: one has low privileges and no user interaction, the other has no privileges and requires user interaction and high complexity. Both agree on local access and a low integrity impact. No public exploitation is reported, and the record does not mark it as known exploited.

Technical impact

The direct effect is on certificate validity, not on confidentiality or availability. A certificate may be accepted outside its intended lifetime or rejected inside it, depending on the direction of the error. The record does not describe a way to turn this into broader compromise, and the integrity impact is rated low.

Business impact

An organisation that uses OpenSSH certificates for access control may end up with certificates that stay valid longer than intended or lapse earlier than planned. The first is an access control problem: a certificate meant to expire at a set time may remain usable, extending access beyond the window the issuer set. The second is an operational problem: legitimate access can fail earlier. This is an integrity issue in certificate validity, not a route to remote code execution, and the record rates severity as low. Teams that issue SSH certificates for user or server authentication should care. Teams that use OpenSSH only for ordinary key based logins without certificates are less exposed.

Remediation

Apply the OpenSSH update that contains the fix. The record indicates a patch is available. After upgrading, reissue certificates whose validity window matters, because a certificate already generated with a wrong expiration does not correct itself. If immediate upgrade is not possible, the record documents no workaround. Manual review of certificate expiration dates can catch bad certificates but does not fix the generator.

Detection

Look for SSH certificates whose validity start or end times differ from the intended policy, especially around daylight saving transitions. Review certificate issuance logs and ssh-keygen use, and compare issued certificate metadata against the intended lifetime. Hosts in unusual time zones, including the Antarctic locations named in the record, deserve a closer check. The record provides no specific detection signatures.

Sources (8)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.