All reports
High

ParsePKCS1PrivateKey panic with partial keys in crypto/x509

Affected versions

Affected versions
>=1.24.0-0 <1.24.0-rc.2
Fixed version
1.24.0-rc.2
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-22865

Probability of exploitation in the next 30 days: 0.60%

FIRST EPSS · 2026-11-20

Description

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

Links

Credits

  • Philippe Antoine (Catena cyber)