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.
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.
CVSS v3.1
Score 9.1critical
Affected software
pkg:deb/ubuntu/[email protected]~16.04.4+esm3?arch=source&distro=esm-infra-legacy/xenialpkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=esm-infra-legacy/xenialpkg:deb/ubuntu/[email protected]~18.04.2+esm3?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/golang-go.crypto@1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/[email protected]+20.04ubuntu1~esm3?arch=source&distro=esm-infra/focalpkg:deb/ubuntu/golang-go.crypto@1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/[email protected]+ubuntu22.04.1?arch=source&distro=jammypkg:deb/ubuntu/golang-go.crypto@1:0.0~git20211202.5770296-1ubuntu0.1~esm2?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/[email protected]+ubuntu24.04.1?arch=source&distro=noblepkg:deb/ubuntu/golang-go.crypto@1:0.19.0-1ubuntu0.1~esm2?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/golang-go.crypto@1:0.25.0-1ubuntu0.1?arch=source&distro=questingpkg:deb/ubuntu/[email protected]+ubuntu25.10?arch=source&distro=questingpkg:deb/ubuntu/[email protected]+ubuntu26.04.3?arch=source&distro=resolutepkg:deb/ubuntu/golang-go.crypto@1:0.47.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-42508
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS","Ubuntu:Pro:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a5fd0851010f89cc2192c94
Added to database: 07/21/2026, 20:03:17 UTC
Last updated: 07/31/2026, 22:25:39 UTC
Views: 9
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
External Links
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.