Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-22865

crypto/x509: ParsePKCS1PrivateKey panic with partial keys in crypto/x509

Overview

Published
28 Jan 2025
Modified
17 Jun 2026
High CVE
1 Registry packages
7 OS packages
5 Linux distributions
Yes Fix available

Description

Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages · 1

Packages affected by CVE-2025-22865
EcosystemPackageVulnerableFixed in
Go stdlib >=1.24.0-0, <1.24.0-rc.2 1.24.0-rc.2

Open a package to see all its vulnerabilities.

Operating systems · 9 fixes

SUSE Linux Enterprise 3 releases · 1 package

fixed 3
go1-24
SUSE Linux Enterprise fixes for CVE-2025-22865
ReleasePackageFixed inAdvisory
15.4 go1-24 +2 1.24rc2-150000.1.3.1 SUSE-SU-2025:0285-1
15.5 go1-24 +2 1.24rc2-150000.1.3.1 SUSE-SU-2025:0285-1
15.6 go1-24 +2 1.24rc2-150000.1.3.1 SUSE-SU-2025:0285-1

debian 2 releases · 1 package

fixed 2
golang-1-24
debian fixes for CVE-2025-22865
ReleasePackageFixed in
13 golang-1-24 1.24~rc2-1
14 golang-1-24 1.24~rc2-1

echo 1 release · 1 package

fixed 1
golang-1-24
echo fixes for CVE-2025-22865
ReleasePackageFixed in
golang-1-24 1.24~rc2-1

openSUSE 1 release · 2 packages

fixed 2
govulncheck-vulndb go1-24
openSUSE fixes for CVE-2025-22865
ReleasePackageFixed inAdvisory
Tumbleweed govulncheck-vulndb 0.0.20250128T150132-1.1 openSUSE-SU-2025:14710-1
Tumbleweed go1-24 +3 1.24rc2-1.1 openSUSE-SU-2025:14693-1

root.io debian 1 release · 1 package

fixed 1
rootio-golang-1-24
root.io debian fixes for CVE-2025-22865
ReleasePackageFixed in
13 rootio-golang-1-24 1.24~rc2-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.