CVEfocus › CVE database › CVE-2025-22865

CVE-2025-22865ParsePKCS1PrivateKey panic with partial keys in crypto/x509

CVSS 7.5 HighEPSS 0.9% (higher than 57% of CVEs)Published 2025-01-28Updated 2025-01-30Assigner: Go

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

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
13Fix pending
10Under investigation
8Will not fix
135Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04golang-1.23Under investigationUBUNTU-CVE-2025-22865
Ubuntu 26.04golang-1.24Not affected
vulnerable_code_not_present
Ubuntu 25.10golang-1.23Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2025-22865
Ubuntu 25.10golang-1.24Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2025-22865
Ubuntu 24.04golang-1.21Under investigationUBUNTU-CVE-2025-22865
Ubuntu 24.04golang-1.22Not affected
vulnerable_code_not_present
Ubuntu 24.04golang-1.23Under investigationUBUNTU-CVE-2025-22865
Ubuntu 24.04golang-1.24Under investigationUBUNTU-CVE-2025-22865
Ubuntu 22.04golang-1.13Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 22.04golang-1.17Under investigationUBUNTU-CVE-2025-22865
Ubuntu 22.04golang-1.18Under investigationUBUNTU-CVE-2025-22865
Ubuntu 22.04golang-1.20Under investigationUBUNTU-CVE-2025-22865
Ubuntu 22.04golang-1.21Under investigationUBUNTU-CVE-2025-22865
Ubuntu 22.04golang-1.22Not affected
vulnerable_code_not_present
Ubuntu 22.04golang-1.23Under investigationUBUNTU-CVE-2025-22865
Ubuntu 22.04golang-1.24Under investigationUBUNTU-CVE-2025-22865
Ubuntu 20.04golang-1.13Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2025-22865
Ubuntu 20.04golang-1.14Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2025-22865
Ubuntu 20.04golang-1.16Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 20.04golang-1.18Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2025-22865
Ubuntu 20.04golang-1.20Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2025-22865
Ubuntu 20.04golang-1.21Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
UBUNTU-CVE-2025-22865
Ubuntu 20.04golang-1.22Will not fix
Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of…
Ubuntu 18.04golang-1.10Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 18.04golang-1.13Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 18.04golang-1.16Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 18.04golang-1.18Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 18.04golang-1.8Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 18.04golang-1.9Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 16.04golang-1.10Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 16.04golang-1.13Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 16.04golang-1.18Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 16.04golang-1.6Fix pendingUBUNTU-CVE-2025-22865
Ubuntu 14.04golang-1.10Fix pendingUBUNTU-CVE-2025-22865
Debian 13golang-1.24Fixed1.24~rc2-1DEBIAN-CVE-2025-22865
Red Hat Enterprise Linux 10aardvark-dnsNot affected
Red Hat Enterprise Linux 10buildahNot affected
Red Hat Enterprise Linux 10buildah-testsNot affected
Red Hat Enterprise Linux 10butaneNot affected
Red Hat Enterprise Linux 10conmonNot affected
Red Hat Enterprise Linux 10containers-commonNot affected
Red Hat Enterprise Linux 10containers-common-extraNot affected
Red Hat Enterprise Linux 10delveNot affected
Red Hat Enterprise Linux 10git-lfsNot affected
Red Hat Enterprise Linux 10go-toolsetNot affected
Red Hat Enterprise Linux 10golangNot affected
Red Hat Enterprise Linux 10golang-binNot affected
Red Hat Enterprise Linux 10golang-docsNot affected
Red Hat Enterprise Linux 10golang-github-openprinting-ipp-usbNot affected
Red Hat Enterprise Linux 10golang-miscNot affected
Red Hat Enterprise Linux 10golang-raceNot affected
Red Hat Enterprise Linux 10golang-srcNot affected
Red Hat Enterprise Linux 10golang-testsNot affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10gvisor-tap-vsockNot affected
Red Hat Enterprise Linux 10gvisor-tap-vsock-gvforwarderNot affected
Red Hat Enterprise Linux 10ignitionNot affected
Red Hat Enterprise Linux 10ignition-edgeNot affected
Red Hat Enterprise Linux 10ignition-grubNot affected
Red Hat Enterprise Linux 10ignition-validateNot affected
Red Hat Enterprise Linux 10ipp-usbNot affected
Red Hat Enterprise Linux 10netavarkNot affected
Red Hat Enterprise Linux 10osbuild-composerNot affected
Red Hat Enterprise Linux 10osbuild-composer-coreNot affected
Red Hat Enterprise Linux 10osbuild-composer-workerNot affected
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 10podman-dockerNot affected
Red Hat Enterprise Linux 10podman-remoteNot affected
Red Hat Enterprise Linux 10podman-testsNot affected
Red Hat Enterprise Linux 10rhcNot affected
Red Hat Enterprise Linux 10skopeoNot affected
Red Hat Enterprise Linux 10skopeo-testsNot affected
Red Hat Enterprise Linux 10toolboxNot affected
Red Hat Enterprise Linux 10toolbox-testsNot affected
Red Hat Enterprise Linux 10yggdrasilNot affected
Red Hat Enterprise Linux 10yggdrasil-develNot affected
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9butaneNot affected
Red Hat Enterprise Linux 9conmonNot affected
Red Hat Enterprise Linux 9git-lfsNot affected
Red Hat Enterprise Linux 9go-toolsetNot affected
Red Hat Enterprise Linux 9golangNot affected
Red Hat Enterprise Linux 9golang-binNot affected
Red Hat Enterprise Linux 9golang-docsNot affected
Red Hat Enterprise Linux 9golang-miscNot affected
Red Hat Enterprise Linux 9golang-raceNot affected
Red Hat Enterprise Linux 9golang-srcNot affected
Red Hat Enterprise Linux 9golang-testsNot affected
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-pcpNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9ignitionNot affected
Red Hat Enterprise Linux 9ignition-edgeNot affected
Red Hat Enterprise Linux 9ignition-grubNot affected
Red Hat Enterprise Linux 9ignition-validateNot affected
Red Hat Enterprise Linux 9opentelemetry-collectorNot affected
Red Hat Enterprise Linux 9osbuild-composerNot affected
Red Hat Enterprise Linux 9osbuild-composer-coreNot affected
Red Hat Enterprise Linux 9osbuild-composer-dnf-jsonNot affected
Red Hat Enterprise Linux 9osbuild-composer-workerNot affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 9rhcNot affected
Red Hat Enterprise Linux 9rhc-develNot affected
Red Hat Enterprise Linux 9runcNot affected
Red Hat Enterprise Linux 9skopeoNot affected
Red Hat Enterprise Linux 9skopeo-testsNot affected
Red Hat Enterprise Linux 9toolboxNot affected
Red Hat Enterprise Linux 9toolbox-testsNot affected
Red Hat Enterprise Linux 9weldr-clientNot affected
Red Hat Enterprise Linux 8buildahNot affected
Red Hat Enterprise Linux 8buildah-testsNot affected
Red Hat Enterprise Linux 8conmonNot affected
Red Hat Enterprise Linux 8containernetworking-pluginsNot affected
Red Hat Enterprise Linux 8containers-commonNot affected
Red Hat Enterprise Linux 8delveNot affected
Red Hat Enterprise Linux 8git-lfsNot affected
Red Hat Enterprise Linux 8go-toolsetNot affected
Red Hat Enterprise Linux 8golangNot affected
Red Hat Enterprise Linux 8golang-binNot affected
Red Hat Enterprise Linux 8golang-docsNot affected
Red Hat Enterprise Linux 8golang-miscNot affected
Red Hat Enterprise Linux 8golang-raceNot affected
Red Hat Enterprise Linux 8golang-srcNot affected
Red Hat Enterprise Linux 8golang-testsNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8osbuild-composerNot affected
Red Hat Enterprise Linux 8osbuild-composer-coreNot affected
Red Hat Enterprise Linux 8osbuild-composer-dnf-jsonNot affected
Red Hat Enterprise Linux 8osbuild-composer-workerNot affected
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
Red Hat Enterprise Linux 8rhcNot affected
Red Hat Enterprise Linux 8runcNot affected
Red Hat Enterprise Linux 8skopeoNot affected
Red Hat Enterprise Linux 8skopeo-testsNot affected
Red Hat Enterprise Linux 8toolboxNot affected
Red Hat Enterprise Linux 8toolbox-testsNot affected
Red Hat Enterprise Linux 8weldr-clientNot affected
Go librarystdlibFixed1.24.0-rc.2GO-2025-3421

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.