PoC Monitor
← All CVEs
CVE-2025-22865published 28 Jan 2025 01:03 UTCData: JSON · API

Go standard library crypto/x509

ParsePKCS1PrivateKey panic with partial keys in crypto/x509

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

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-228
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Go standard library crypto/x509
  • >= 1.24.0-0, < 1.24.0-rc.2

Fixed in 1.24.0-rc.2

Mitigation

Upgrade crypto/x509 to 1.24.0-rc.2 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published28 Jan 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.