Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2025-22865

ParsePKCS1PrivateKey panic with partial keys in crypto/x509

Description

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library crypto/x509

Default version status: unaffected

  • 1.24.0-0 to < 1.24.0-rc.2affected

References