All CVEs / Go standard library
CVE-2025-22865Go standard library crypto/x509
High 7.5 No auth needed
Follow: this CVE · Go standard library · Go standard library crypto/x509 We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jan 28, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
- Apply the vendor's security update for crypto/x509.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
≥ 1.24.0-0 < 1.24.0-rc.2 |
1.24.0-rc.2 |
go get stdlib@v1.24.0-rc.2 |
Per OSV / GitHub Advisories (GO-2025-3421). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · crypto/x509
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.