Skip to main content
← All vulnerabilities
CVE-2025-22865GO-2025-3421BIT-GOLANG-2025-22865

ParsePKCS1PrivateKey panic with partial keys in crypto/x509

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.24.0-rc.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • crypto/x509

    From 1.24.0-0 · fixed in 1.24.0-rc.2

  • stdlibGo

    From 1.24.0-0 · fixed in 1.24.0-rc.2

References 4

go.dev

groups.google.com

pkg.go.dev