Skip to content
Fencer Vulns
high 7.5

CVE-2025-22865 json

ParsePKCS1PrivateKey panic with partial keys in crypto/x509

published 2025-01-28 21 mo ago modified 2026-06-17 4 mo ago also BIT-golang-2025-22865 , EUVD-2025-3033 , GO-2025-3421

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

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

Patch / fix

  • bitnami golang 1.24.0-rc.2
  • go stdlib 1.24.0-rc.2
  • Go standard library crypto/x509 1.24.0-rc.2
  • golang-1.24 Debian 13 1.24~rc2-1

debian advisories DEBIAN-CVE-2025-22865

  • govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250207T224745-150000.1.32.1
  • govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250128T150132-150000.1.29.1
  • go1.24 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +11 more 1.24rc2-150000.1.3.1

suse advisories SUSE-SU-2025:0429-1SUSE-SU-2025:0297-1SUSE-SU-2025:0285-1

  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250128T150132-1.1
  • go1.24 openSUSE Tumbleweed 1.24rc2-1.1

opensuse advisories openSUSE-SU-2025:14710-1openSUSE-SU-2025:14693-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-22865 updated cvss 7.5

crypto/x509: ParsePKCS1PrivateKey panic with partial keys in crypto/x509

  • Red Hat 3scale API Management Platform 2 rhcl-1/authorino-rhel9
    affected: no fix planned “Will not fix”
  • Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8
    affected: no fix planned “Out of support scope”
  • Red Hat Ceph Storage 6 rhceph/rhceph-6-dashboard-rhel9 Red Hat OpenShift GitOps openshift-gitops-1/gitops-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat Ceph Storage 7.1 Tools rhceph/rhceph-7-rhel9 7-532, rhceph/grafana-rhel9 11.6.2-7, rhceph/grafana-rhel10 11.6.2-7, rhceph/keepalived-rhel9 2.2.8-74, rhceph/snmp-notifier-rhel9 1.2.1-124, rhceph/rhceph-haproxy-rhel9 2.4.22-76, +1 more
    fixed: vendor fix RHSA-2025:11889
  • Red Hat Ceph Storage 8.1 Tools rhceph/grafana-rhel9 11.6.2-4
    fixed: vendor fix RHSA-2025:11749
  • Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2 rhai-tech-preview/assisted-installer-rhel8 Red Hat Cryostat 3 cryostat/cryostat-storage-rhel9 Red Hat Deployment Validation Operator deployment-validation-operator-container Red Hat Fence Agents Remediation Operator workload-availability/fence-agents-remediation-rhel8-operator Red Hat Kube Descheduler Operator kube-descheduler-operator/descheduler-rhel9 Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel9
    +28 more products
    Red Hat Logical Volume Manager Storage lvms4/topolvm-rhel9 Red Hat Machine Deletion Remediation Operator workload-availability/machine-deletion-remediation-rhel8-operator Red Hat Migration Toolkit for Applications 7 mta/mta-cli-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-registry-rhel8 Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-api-rhel9 Red Hat mirror registry for Red Hat OpenShift mirror-registry-container Red Hat Multicluster Engine for Kubernetes multicluster-engine/hive-rhel8 Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel8-operator Red Hat Node Maintenance Operator workload-availability/node-maintenance-rhel8-operator Red Hat OpenShift API for Data Protection oadp/oadp-velero-rhel8 Red Hat OpenShift Developer Tools and Services ocp-tools-4/jenkins-rhel8 Red Hat OpenShift Pipelines openshift-pipelines-client Red Hat OpenShift Run Once Duration Override Operator run-once-duration-override-operator/run-once-duration-override-rhel9 Red Hat OpenShift Serverless kn-workflow-plugin, openshift-gitops-1/gitops-rhel8-operator Red Hat OpenShift Service Mesh 2 openshift-golang-builder-container Red Hat OpenShift Service Mesh 3 openshift-istio-cni-container Red Hat Power monitoring for Red Hat OpenShift kepler-container Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/subctl-rhel9 Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8 Red Hat Ansible Automation Platform 2 aap-cloud-ui-container, automation-gateway-proxy Red Hat build of Apache Camel - HawtIO 4 hawtio-operator-container Red Hat Ceph Storage 8.1 Tools rhceph/rhceph-8-rhel9 8-511, rhceph/keepalived-rhel9 2.2.8-73, rhceph/oauth2-proxy-rhel9 v7.6.0-33, rhceph/snmp-notifier-rhel9 1.2.1-123, rhceph/rhceph-haproxy-rhel9 2.4.22-75, rhceph/rhceph-promtail-rhel9 v3.0.0-40 Red Hat Connectivity Link 1 rhcl-1/authorino-rhel9 Red Hat Enterprise Linux 8 rhc, runc, delve, conmon, golang, podman, +42 more Red Hat Enterprise Linux 9 rhc, runc, butane, conmon, golang, podman, +32 more Red Hat Enterprise Linux 10 rhc, delve, butane, conmon, golang, podman, +12 more Red Hat OpenShift AI (RHOAI) odh-operator-container Red Hat OpenShift Container Platform 4 runc, cri-o, butane, conmon, podman, skopeo, +48 more
    not affected: vulnerable code not present

13 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
21 mo ago

Exploit prediction

0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
bitnami golang
>=1.24.0-0, <1.24.0-rc.2
1.24.0-rc.2
go stdlib
>=1.24.0-0, <1.24.0-rc.2
1.24.0-rc.2

Affected products

  • Go standard library crypto/x509

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.