ParsePKCS1PrivateKey panic with partial keys in crypto/x509
Priority MEDIUM 40Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 fixed, 4 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.
Summary
Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00596 48th percentileScored 2026-11-07
Fix Partial crypto/x509 (Go standard library): 1.24.0-rc.2Red Hat: 2 advisoriesRed Hat: 2 fixed, 4 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Go standard library | crypto/x509 | 1.24.0-0 to before 1.24.0-rc.2 | 1.24.0-rc.2 | Patch available | CNA |
- crypto/x509 VendorGo standard library Affected 1.24.0-0 to before 1.24.0-rc.2 Fixed in 1.24.0-rc.2 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | — | — | Go standard library |
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Versions — — ·Go standard library
Remediation
- Fix · CNA crypto/x509 (Go standard library) Fixed in 1.24.0-rc.2
Red Hat 2 advisories
- RHSA-2025:11889 Released 2025-07-28 · Red Hat rating Important7.1 container image is now available in the Red Hat Ecosystem Catalog.
- Red Hat Ceph Storage 7.1 Tools rhceph/grafana-rhel10, rhceph/grafana-rhel9, rhceph/keepalived-rhel9 +4
- RHSA-2025:11749 Released 2025-07-24 · Red Hat rating ImportantUpdated 8.1 container image is now available: security and bug fix update
- Red Hat Ceph Storage 8.1 Tools rhceph/grafana-rhel9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 5 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 6 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift GitOps | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 7.1 Tools | Fixed | RHSA-2025:11889 |
| Red Hat Ceph Storage 8.1 Tools | Fixed | RHSA-2025:11749 |
Not affected: 47 products
- Assisted Installer for Red Hat OpenShift Container Platform 2
- Cryostat 3
- Deployment Validation Operator
- Fence Agents Remediation Operator
- Kube Descheduler Operator
- Logging Subsystem for Red Hat OpenShift
- Logical Volume Manager Storage
- Machine Deletion Remediation Operator
- Migration Toolkit for Applications 7
- Migration Toolkit for Containers
- Migration Toolkit for Virtualization
- Multicluster Engine for Kubernetes
- Node HealthCheck Operator
- Node Maintenance Operator
- OpenShift API for Data Protection
- OpenShift Developer Tools and Services
- OpenShift Pipelines
- OpenShift Run Once Duration Override Operator
- OpenShift Serverless
- OpenShift Service Mesh 2
- OpenShift Service Mesh 3
- Power monitoring for Red Hat OpenShift
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Advanced Cluster Security 4
- Red Hat Ansible Automation Platform 2
- Red Hat Ceph Storage 8.1 Tools
- Red Hat Connectivity Link 1
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift Virtualization 4
- Red Hat OpenShift on AWS
- Red Hat OpenStack Platform 16.2
- Red Hat OpenStack Platform 17.1
- Red Hat OpenStack Platform 18.0
- Red Hat Openshift Data Foundation 4
- Red Hat Openshift Sandboxed Containers
- Red Hat Quay 3
- Red Hat Storage 3
- Red Hat Web Terminal
- Red Hat build of Apache Camel - HawtIO 4
- Self Node Remediation Operator
- Service Telemetry Framework 1.5
- mirror registry for Red Hat OpenShift
Timeline
- 2026-10-02 Threatist record created from CVE-2025-22865
- 2026-10-03 Alias added: GHSA-v7qx-rccr-23xm
References
More Go standard library vulnerabilities
- TI-2020-00578 Improper certificate validation in Microsoft Windows KEVCVSS 3.1HIGH 8.1
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2023-24278 HTTP/2 CONTINUATION flood in net/http CVSS 3.1HIGH 7.5
- TI-2018-05208 The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used… CVSS 3.1HIGH 8.8
- TI-2024-16309 Panic when parsing invalid palette-color images in golang.org/x/image CVSS 3.1HIGH 7.5
- TI-2022-20112 Request smuggling due to improper request handling in golang.org/x/net/http2/h2c CVSS 3.1HIGH 7.5
Sources
- CVE-2025-22865 · CVE Program
- CVE-2025-22865 · NVD
- FIRST EPSS
- GHSA-v7qx-rccr-23xm · GitHub Advisory Database · CC BY 4.0
- CVE-2025-22865 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences