CVE-2026-42508: CWE-295: Improper Certificate Validation in golang.org/x/crypto golang.org/x/crypto/ssh/knownhosts
Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @revoked.
AI Analysis
Technical Summary
This vulnerability involves improper certificate validation (CWE-295) in the golang.org/x/crypto/ssh/knownhosts package. Previously, the revocation status of a 'SignatureKey' associated with a CA was not correctly verified, potentially allowing use of revoked keys. The fix involves verifying revocation for both the key and its SignatureKey. No patch or official remediation level is provided in the data, and no exploits are currently known.
Potential Impact
The improper validation of revoked SignatureKeys could allow acceptance of revoked certificates, potentially undermining trust in SSH host key verification. However, no known exploits have been reported, and the exact impact depends on the usage context of the affected package.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor golang.org/x/crypto project updates for patches addressing this issue.
CVE-2026-42508: CWE-295: Improper Certificate Validation in golang.org/x/crypto golang.org/x/crypto/ssh/knownhosts
Description
Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @revoked.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper certificate validation (CWE-295) in the golang.org/x/crypto/ssh/knownhosts package. Previously, the revocation status of a 'SignatureKey' associated with a CA was not correctly verified, potentially allowing use of revoked keys. The fix involves verifying revocation for both the key and its SignatureKey. No patch or official remediation level is provided in the data, and no exploits are currently known.
Potential Impact
The improper validation of revoked SignatureKeys could allow acceptance of revoked certificates, potentially undermining trust in SSH host key verification. However, no known exploits have been reported, and the exact impact depends on the usage context of the affected package.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor golang.org/x/crypto project updates for patches addressing this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-04-28T00:21:12.792Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0fcdabe1370fbb487d502f
Added to database: 5/22/2026, 3:29:47 AM
Last enriched: 5/22/2026, 3:44:59 AM
Last updated: 5/23/2026, 7:04:16 PM
Views: 18
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.