Go ParsePKCS1PrivateKey Panic on Missing CRT
CVE-2025-22865 Published on January 28, 2025

ParsePKCS1PrivateKey panic with partial keys in crypto/x509
Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.

NVD

Vulnerability Analysis

CVE-2025-22865 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
NONE
Availability Impact:
NONE

Products Associated with CVE-2025-22865

stack.watch emails you whenever new vulnerabilities are published in Oracle or GoLang Go. Just hit a watch button to start following.

 
 

Affected Versions

Go standard library crypto/x509:

Exploit Probability

EPSS
0.17%
Percentile
37.82%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.