CVE-2025-22865
ParsePKCS1PrivateKey panic with partial keys in crypto/x509
7.5
HIGH
CVSS 3.1
EPSS 0.07%
Description
Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.
How to fix CVE-2025-22865
To remediate CVE-2025-22865, upgrade the affected package to a fixed version below.
- Bitnami/golang—upgrade to 1.24.0-rc.2 or later
- —upgrade to 1.24~rc2-1 or later
- —upgrade to 1.24.0-rc.2 or later
Is CVE-2025-22865 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 1.24.0-0, < 1.24.0-rc.2
- from 0, < 1.24~rc2-1
- >= 1.24.0-0, < 1.24.0-rc.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |