opkssh — security advisory
Versions of OpenPubkey library prior to 0.10.0 contained a vulnerability that would allow a specially crafted JWS to bypass signature verification. As OPKSSH depends on the OpenPubkey library for authentication, this vulnerability in OpenPubkey also applies to OPKSSH versions prior to 0.5.0 and would allow an attacker to bypass OPKSSH authentication.
- Products
- opkssh
- Affected versions
- 0.10.0-1, 0.10.0-3, 0.10.0-3ubuntu0.1, 0.10.0-3ubuntu0.1+esm1, 0.10.0-3ubuntu0.1~esm1, 0.14.0-2, 0.16.0-1, 0.4.0-1, 0.8.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2025-4658
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:28 UTC · Revision 1
Source evidence
Versions of OpenPubkey library prior to 0.10.0 contained a vulnerability that would allow a specially crafted JWS to bypass signature verification. As OPKSSH depends on the OpenPubkey library for authentication, this vulnerability in OpenPubkey also applies to OPKSSH versions prior to 0.5.0 and would allow an attacker to bypass OPKSSH authentication.
osv:UBUNTU-CVE-2025-4658
opkssh
Fixed versions: Not specified
opkssh
Fixed versions: Not specified
opkssh
Fixed versions: Not specified
Complete source record
{
"id": "4025d476b4ec58ca52c4029bedf4f6080baeede39f6aa8074b27050c43ecfa77",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-4658",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-4658",
"summary": "Versions of OpenPubkey library prior to 0.10.0 contained a vulnerability that would allow a specially crafted JWS to bypass signature verification. As OPKSSH depends on the OpenPubkey library for authentication, this vulnerability in OpenPubkey also applies to OPKSSH versions prior to 0.5.0 and would allow an attacker to bypass OPKSSH authentication.",
"evidence": "osv:UBUNTU-CVE-2025-4658",
"products": [
{
"name": {
"value": "opkssh",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.4.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "opkssh",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.10.0-3",
"evidence": "/affected/1/versions"
},
{
"value": "0.14.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "0.16.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "opkssh",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.4.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.8.0-2",
"evidence": "/affected/2/versions"
},
{
"value": "0.10.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.10.0-3",
"evidence": "/affected/2/versions"
},
{
"value": "0.10.0-3ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
},
{
"value": "0.10.0-3ubuntu0.1",
"evidence": "/affected/2/versions"
},
{
"value": "0.10.0-3ubuntu0.1+esm1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2025-4658",
"aliases": [
"UBUNTU-CVE-2025-4658"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "opkssh",
"purl": "pkg:deb/ubuntu/opkssh?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.4.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-4658.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-openpubkey-opkssh-dev",
"binary_version": "0.4.0-1"
},
{
"binary_name": "opkssh",
"binary_version": "0.4.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "opkssh",
"purl": "pkg:deb/ubuntu/opkssh?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.10.0-3",
"0.14.0-2",
"0.16.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-4658.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-openpubkey-opkssh-dev",
"binary_version": "0.16.0-1"
},
{
"binary_name": "opkssh",
"binary_version": "0.16.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "opkssh",
"purl": "pkg:deb/ubuntu/opkssh?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"0.4.0-1",
"0.8.0-2",
"0.10.0-1",
"0.10.0-3",
"0.10.0-3ubuntu0.1~esm1",
"0.10.0-3ubuntu0.1",
"0.10.0-3ubuntu0.1+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-4658.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-openpubkey-opkssh-dev",
"binary_version": "0.10.0-3ubuntu0.1+esm1"
},
{
"binary_name": "opkssh",
"binary_version": "0.10.0-3ubuntu0.1+esm1"
}
]
}
}
],
"modified": "2026-10-17T12:56:51.984082724Z",
"provider": "osv",
"upstream": [
"CVE-2025-4658"
],
"references": [
"https://ubuntu.com/security/CVE-2025-4658",
"https://www.cve.org/CVERecord?id=CVE-2025-4658",
"https://github.com/openpubkey/opkssh/security/advisories/GHSA-56wx-66px-9j66",
"https://github.com/openpubkey/opkssh"
]
},
"related_cves": [
{
"value": "CVE-2025-4658",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356481,
"published_at": "2025-05-13T17:16:00+00:00"
}