Vulnerability in Go Standard Library Crypto/x509

CVE-2025-22865

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

EPSS: 0.006 (44.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

References

Frequently asked questions

What is CVE-2025-22865?
CVE-2025-22865 is a high-severity vulnerability in Go Standard Library Crypto/x509, classified under CWE-228: IMPROPER HANDLING OF SYNTACTICALLY INVALID STRUCTURE. CVSS score: 7.5/10. Published 2025-01-28.
How severe is CVE-2025-22865?
High severity. CVSS v3 base score is 7.5 out of 10.