CVE-2025-22865: Go Standard Library crypto/x509

High severity, CVSS 7.5. EPSS: 0.9% probability of exploitation activity in the next 30 days.

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

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Go Standard Library crypto/x509, from 1.24.0-0, before 1.24.0-rc.2: fixed in 1.24.0-rc.2

Affected products

Affected packages

Published 2025-01-28. Last modified 2026-06-17.