CVE-2025-22865
ParsePKCS1PrivateKey panic with partial keys in crypto/x509
Published: Jan 28, 2025Updated: Jan 28, 2025 Sources: CVE List NVD BDU
7.5CVSSHIGH
Description
Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:NIntegrityNone
A:NAvailabilityNone
Affected Products
go standard libraryoss-projectUSOSS Librariesaka golang standard library, net/http, crypto/x509, html/template
and 4 more affected products View all →
Exploitability
Official Patch Available
References
https://go.dev/cl/643098
go.dev
https://go.dev/issue/71216
go.dev
https://groups.google.com/g/golang-dev/c/CAWXhan3Jww/m/bk9LAa-lCgAJ
groups.google.com
and 3 more references View all →
Timeline
Published
Jan 28, 2025
Last Updated
Jan 28, 2025
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-22865 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows