CVE-2025-22865Published Jan 28, 2025 · Jan 28Updated Jun 17
ParsePKCS1PrivateKey panic with partial keys in crypto/x509
Go standard library crypto/x509
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| stdlib Go |
|
|
Original description
Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.
From the CVE record · Go