Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-4658: Versions of OpenPubkey library prior to 0.10.0 contained a vulnerability that would allow a specially crafted

46
This month
CRITICAL 9.8REMOTEUPGRADEUPGRADE

CVE-2025-4658 is a critical-severity flaw (CVSS 9.8) affecting openpubkey, opkssh. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 73%)
CISA exploited listNo
WeaknessCWE-305, CWE-347
Published2025-05-13
Last modified2026-06-17
Publisher (CNA): Cloudflare, Inc. · Vendor: openpubkey

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

openpubkey openpubkey UPGRADE
Affected: < 0.10.0
Fixed in: 0.10.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy openpubkey || rpm -q openpubkey || openpubkey --version
2. UPGRADE to 0.10.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade openpubkey
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade openpubkey
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
openpubkey opkssh UPGRADE
Affected: < 0.5.0
Fixed in: 0.5.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy opkssh || rpm -q opkssh || opkssh --version
2. UPGRADE to 0.5.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade opkssh
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade opkssh
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-4658?

openpubkey: upgrade to 0.10.0; opkssh: upgrade to 0.5.0. Exact commands for each OS are on this page.

Is CVE-2025-4658 being exploited?

CVE-2025-4658 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-4658 affect?

CVE-2025-4658 affects openpubkey, opkssh. Severity is critical (CVSS 9.8). 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 OpenP

How urgent is CVE-2025-4658?

Priority 46/100. Critical severity; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.