cve.bz

CVE-2025-22865 go standard library crypto/x509

7.5 highEPSS 0.6%Fix available

High (7.5) in go standard library crypto/x509. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.24.0-rc.2.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-01-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-22865 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22865?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22865?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22865 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library crypto/x509from 1.24.0-0 before 1.24.0-rc.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2025-3421Gostdlib>=1.24.0-0 <1.24.0-rc.21.24.0-rc.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13golang-1.241.24~rc2-1DEBIAN-CVE-2025-22865
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2025-22865
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2025-22865
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2025-22865
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 2 moreno fix listedUBUNTU-CVE-2025-22865
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 3 moreno fix listedUBUNTU-CVE-2025-22865
Ubuntu24.04:LTSgolang-1.21, golang-1.23, golang-1.24no fix listedUBUNTU-CVE-2025-22865
Ubuntu25.10golang-1.23, golang-1.24no fix listedUBUNTU-CVE-2025-22865
Ubuntu26.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2025-22865
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2025-22865
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2025-22865
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2025-22865
UbuntuPro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2025-22865
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 morego1.241.24rc2-150000.1.3.1SUSE-SU-2025:0285-1
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250128T150132-150000.1.29.1SUSE-SU-2025:0297-1
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250207T224745-150000.1.32.1SUSE-SU-2025:0429-1
openSUSELeap 15.6go1.241.24rc2-150000.1.3.1SUSE-SU-2025:0285-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250128T150132-150000.1.29.1SUSE-SU-2025:0297-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250207T224745-150000.1.32.1SUSE-SU-2025:0429-1
openSUSETumbleweedgo1.241.24rc2-1.1openSUSE-SU-2025:14693-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250128T150132-1.1openSUSE-SU-2025:14710-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability affects only the Go 1.24 release candidates. Red Hat products do not utilize Go 1.24, except Red Hat Ceph Storage 8 which includes a Grafana container that uses Go 1.24 and is therefore affected by this issue.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7.1rhceph/grafana-rhel10:11.6.2-7Fixed 2025-07-28RHSA-2025:11889
Red Hat Ceph Storage 7.1rhceph/grafana-rhel9:11.6.2-7Fixed 2025-07-28RHSA-2025:11889
Red Hat Ceph Storage 7.1rhceph/keepalived-rhel9:2.2.8-74Fixed 2025-07-28RHSA-2025:11889
Red Hat Ceph Storage 7.1rhceph/rhceph-7-rhel9:7-532Fixed 2025-07-28RHSA-2025:11889
Red Hat Ceph Storage 7.1rhceph/rhceph-haproxy-rhel9:2.4.22-76Fixed 2025-07-28RHSA-2025:11889
Red Hat Ceph Storage 7.1rhceph/rhceph-promtail-rhel9:v3.0.0-41Fixed 2025-07-28RHSA-2025:11889
Red Hat Ceph Storage 7.1rhceph/snmp-notifier-rhel9:1.2.1-124Fixed 2025-07-28RHSA-2025:11889
Red Hat Ceph Storage 8.1rhceph/grafana-rhel9:11.6.2-4Fixed 2025-07-24RHSA-2025:11749
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-rhel8Not affected
Cryostat 3cryostat-tech-preview/cryostat-storage-rhel8Not affected
Deployment Validation Operatordeployment-validation-operator-containerNot affected
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel8-operatorNot affected
Kube Descheduler Operatorkube-descheduler-operator/descheduler-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Logical Volume Manager Storagelvms4/topolvm-rhel8Not affected
Machine Deletion Remediation Operatorworkload-availability/machine-deletion-remediation-rhel8-operatorNot affected
Migration Toolkit for Applications 7mta/mta-cli-rhel9Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-registry-rhel8Not affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-api-rhel9Not affected
mirror registry for Red Hat OpenShiftmirror-registry-containerNot affected
109 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-22865.

References

Check your stackJSON