CVE-2025-22874 json
Usage of ExtKeyUsageAny disables policy validation in crypto/x509
published 2025-06-11 16 mo ago modified 2026-08-27 2 mo ago also BIT-golang-2025-22874 , EUVD-2025-18136 , GO-2025-3749
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.
Patch / fix
- bitnami golang 1.24.4
- go stdlib 1.24.4
- Go standard library crypto/x509 1.24.4
- golang-1.24 Debian 13 1.24.4-1
debian advisories DEBIAN-CVE-2025-22874
- golang RHEL 10.0 1.24.4-1.el10_0
- go-toolset RHEL 10.0 1.24.4-1.el10_0
- golang-bin RHEL 10.0 1.24.4-1.el10_0
- golang-src RHEL 10.0 1.24.4-1.el10_0
- golang-misc RHEL 10.0 1.24.4-1.el10_0
- golang-race RHEL 10.0 1.24.4-1.el10_0
- golang-tests RHEL 10.0 1.24.4-1.el10_0
- golang RHEL 9 1.24.4-1.el9_6
red hat advisories RHSA-2026:47719RHSA-2026:47712RHSA-2025:10677RHSA-2025:10676
- go1.24-openssl SLE Module for Development Tools 15 SP7, SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 1.24.6-150600.13.9.1
- go1.24-openssl SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +9 more 1.24.4-150000.1.9.1
- go1.24 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +12 more 1.24.4-150000.1.26.1
suse advisories SUSE-SU-2025:03158-1SUSE-SU-2025:02120-1SUSE-SU-2025:01846-1
- minio-client openSUSE Tumbleweed 20250721T052808Z-1.1
- go1.24 openSUSE Tumbleweed 1.24.4-1.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250612T141001-1.1
- nova openSUSE Tumbleweed 3.11.4-1.1
- polaris openSUSE Tumbleweed 9.6.4-1.1
opensuse advisories openSUSE-SU-2025:15379-1openSUSE-SU-2025:15224-1openSUSE-SU-2025:15225-1openSUSE-SU-2025:15251-1openSUSE-SU-2025:15263-1
- golang-src AlmaLinux 10 1.24.4-1.el10_0.alma.1
- golang-misc AlmaLinux 10 1.24.4-1.el10_0.alma.1
- golang-tests AlmaLinux 10 1.24.4-1.el10_0.alma.1
almalinux advisories ALSA-2025:10677
- go Alpine 3.24, Alpine 3.23, Alpine 3.22 1.24.4-r0
alpine advisories ALPINE-CVE-2025-22874
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- msft-golang CBL-Mariner 2.0 1.24.1-3
- golang Azure Linux 3.0 1.24.4-1
azure linux advisories AZL-63872AZL-72104
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- go Arch Linux 1.24.4-1
arch linux advisories AVG-2896
- go.dev/cl/670375 patch
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-22874 updated cvss 7.5
crypto/x509: Usage of ExtKeyUsageAny disables policy validation in crypto/x509
-
Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2 rhai/assisted-installer-rhel9, rhai/assisted-installer-agent-rhel9, rhai/assisted-installer-controller-rhel9affected: workaround, no fix available
-
Red Hat Builds for Red Hat OpenShift openshift-builds/openshift-builds-waiters-rhel9, openshift-builds/openshift-builds-webhook-rhel9, openshift-builds/openshift-builds-operator-bundle, openshift-builds/openshift-builds-controller-rhel9, openshift-builds/openshift-builds-git-cloner-rhel9, openshift-builds/openshift-builds-image-bundler-rhel9, +3 moreaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat cert-manager Operator for Red Hat OpenShift cert-manager/cert-manager-operator-rhel9, cert-manager/jetstack-cert-manager-rhel9, cert-manager/cert-manager-istio-csr-rhel9, cert-manager/jetstack-cert-manager-acmesolver-rhel9 Red Hat Confidential Compute Attestation confidential-compute-attestation-tech-preview/trustee-rhel9-operator Red Hat Deployment Validation Operator dvo/deployment-validation-rhel8-operator Red Hat external secrets operator for Red Hat OpenShift - Tech Preview external-secrets-operator/external-secrets-rhel9 Red Hat Lightspeed Core lightspeed-core/rag-tool-cpu-rhel9 Red Hat OpenShift Developer Tools and Services ocp-tools-4/jenkins-rhel9affected: workaround, no fix available
+2 more productsfewer
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-rhel9-operator, openshift-lightspeed/lightspeed-operator-bundle, openshift-lightspeed-tech-preview/lightspeed-operator-bundle Red Hat OpenShift Pipelines openshift-pipelines/pipelines-controller-rhel8, openshift-pipelines/pipelines-controller-rhel9 -
Red Hat OpenShift Serverless openshift-serverless-1/kn-plugin-event-sender-rhel8, openshift-serverless-1/kn-plugin-func-func-util-rhel8affected: workaround, no fix available “Fix deferred”
-
Red Hat Pen Drive Powered by Red Hat Lightspeed pen-drive/pen-drive-scanner-rhel9 Red Hat Build of Podman Desktop rh-podman-desktop Red Hat Enterprise Linux 8 delve, golang, go-toolset, golang-bin, golang-src, golang-misc, +2 moreaffected: workaround, no fix available
-
Red Hat Enterprise Linux 9 rhel9/bootc-image-builder, rhel9-eus/rhel-9.6-bootc-image-builder Red Hat Enterprise Linux 10 rhel10/bootc-image-builder, rhel10-eus/rhel-10.0-bootc-image-builderaffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-model-controller-rhel8 Red Hat OpenShift Dev Workspaces Operator devworkspace/devworkspace-rhel9-operator, devworkspace/devworkspace-project-clone-rhel9 Red Hat OpenShift distributed tracing 3 rhosdt/opentelemetry-rhel8-operator, rhosdt/opentelemetry-collector-rhel8, rhosdt/opentelemetry-target-allocator-rhel8affected: workaround, no fix available
-
Red Hat Runtimes Inventory Operator insights-runtimes-tech-preview/runtimes-inventory-rhel8-operatoraffected: workaround, no fix planned “Will not fix”
show 18 moreshow fewer
-
Red Hat Trusted Application Pipeline rhtap-task-runner/rhtap-task-runner-rhel9 Red Hat Trusted Artifact Signer rhtas/createtree-rhel9, rhtas/updatetree-rhel9 Red Hat Trusted Profile Analyzer rhtpa/rhtpa-rhel10-operatoraffected: workaround, no fix available
-
Red Hat Zero Trust Workload Identity Manager - Tech Preview zero-trust-workload-identity-manager/spiffe-helper-rhel9, zero-trust-workload-identity-manager/spiffe-csi-driver-rhel9, zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9, zero-trust-workload-identity-manager/spiffe-spire-server-rhel9, zero-trust-workload-identity-manager/spiffe-spire-controller-manager-rhel9, zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9, +1 moreaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Builds for Red Hat OpenShift 1.5.2 openshift-builds 1.5.0-1755171468fixed: vendor fix RHSA-2025:13931
-
Red Hat Enterprise Linux AppStream (v. 9) golang 1.24.4-1.el9_6, go-toolset 1.24.4-1.el9_6, golang-bin 1.24.4-1.el9_6, golang-src 1.24.4-1.el9_6, golang-misc 1.24.4-1.el9_6, golang-race 1.24.4-1.el9_6, +1 morefixed: vendor fix RHSA-2025:10676
-
Red Hat Enterprise Linux AppStream (v. 10) golang 1.24.4-1.el10_0, go-toolset 1.24.4-1.el10_0, golang-bin 1.24.4-1.el10_0, golang-src 1.24.4-1.el10_0, golang-misc 1.24.4-1.el10_0, golang-race 1.24.4-1.el10_0, +1 morefixed: vendor fix RHSA-2025:10677
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) delve 1.26.1-1.module+el8.4.0+25181+7ce5b91c, golang 1.26.10-2.module+el8.4.0+25201+9a419e96, go-toolset 1.26.10-2.module+el8.4.0+25201+9a419e96, golang-bin 1.26.10-2.module+el8.4.0+25201+9a419e96, golang-src 1.26.10-2.module+el8.4.0+25201+9a419e96, golang-misc 1.26.10-2.module+el8.4.0+25201+9a419e96, +2 morefixed: vendor fix RHSA-2026:90994
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) delve 1.26.1-1.module+el8.6.0+24782+a062e766, golang 1.26.10-4.module+el8.6.0+25114+90ecdb41, go-toolset 1.26.10-4.module+el8.6.0+25114+90ecdb41, golang-bin 1.26.10-4.module+el8.6.0+25114+90ecdb41, golang-src 1.26.10-4.module+el8.6.0+25114+90ecdb41, golang-misc 1.26.10-4.module+el8.6.0+25114+90ecdb41, +2 morefixed: vendor fix RHSA-2026:87246
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) delve 1.26.1-1.module+el8.8.0+24781+86ad105d, golang 1.26.10-4.module+el8.8.0+25113+a148ecc0, go-toolset 1.26.10-4.module+el8.8.0+25113+a148ecc0, golang-bin 1.26.10-4.module+el8.8.0+25113+a148ecc0, golang-src 1.26.10-4.module+el8.8.0+25113+a148ecc0, golang-misc 1.26.10-4.module+el8.8.0+25113+a148ecc0, +2 morefixed: vendor fix RHSA-2026:87245
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) golang 1.25.9-1.el9_2, go-toolset 1.25.9-1.el9_2, golang-bin 1.25.9-1.el9_2, golang-src 1.25.9-1.el9_2, golang-misc 1.25.9-1.el9_2, golang-race 1.25.9-1.el9_2, +1 morefixed: vendor fix RHSA-2026:47719
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) golang 1.25.9-1.el9_4, go-toolset 1.25.9-1.el9_4, golang-bin 1.25.9-1.el9_4, golang-src 1.25.9-1.el9_4, golang-misc 1.25.9-1.el9_4, golang-tests 1.25.9-1.el9_4fixed: vendor fix RHSA-2026:47712
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) delve 1.26.1-1.module+el8.4.0+25181+7ce5b91c, golang 1.26.10-2.module+el8.4.0+25201+9a419e96, go-toolset 1.26.10-2.module+el8.4.0+25201+9a419e96, golang-bin 1.26.10-2.module+el8.4.0+25201+9a419e96, golang-src 1.26.10-2.module+el8.4.0+25201+9a419e96, golang-misc 1.26.10-2.module+el8.4.0+25201+9a419e96, +2 morefixed: vendor fix RHSA-2026:90994
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) delve 1.26.1-1.module+el8.6.0+24782+a062e766, golang 1.26.10-4.module+el8.6.0+25114+90ecdb41, go-toolset 1.26.10-4.module+el8.6.0+25114+90ecdb41, golang-bin 1.26.10-4.module+el8.6.0+25114+90ecdb41, golang-src 1.26.10-4.module+el8.6.0+25114+90ecdb41, golang-misc 1.26.10-4.module+el8.6.0+25114+90ecdb41, +2 morefixed: vendor fix RHSA-2026:87246
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) delve 1.26.1-1.module+el8.8.0+24781+86ad105d, golang 1.26.10-4.module+el8.8.0+25113+a148ecc0, go-toolset 1.26.10-4.module+el8.8.0+25113+a148ecc0, golang-bin 1.26.10-4.module+el8.8.0+25113+a148ecc0, golang-src 1.26.10-4.module+el8.8.0+25113+a148ecc0, golang-misc 1.26.10-4.module+el8.8.0+25113+a148ecc0, +2 morefixed: vendor fix RHSA-2026:87245
-
Red Hat Lightspeed (formerly Insights) for Runtimes 1.0 rh-lightspeed-runtimes 1.0.0-1765483112fixed: vendor fix RHSA-2025:23236
-
Red Hat OpenShift Container Platform 4.20 openshift4 v4.20.0-202510211040.p2.g019abe0.assembly.stream.el9, openshift4 v4.20.0-202510211040.p2.g0bbafe2.assembly.stream.el9, openshift4 v4.20.0-202510211040.p2.g184a960.assembly.stream.el9, openshift4 v4.20.0-202510211040.p2.g21f405c.assembly.stream.el9, openshift4 v4.20.0-202510211040.p2.g319efc9.assembly.stream.el9, openshift4 v4.20.0-202510211040.p2.g3ec3037.assembly.stream.el9, +211 morefixed: vendor fix RHSA-2025:19003
-
Red Hat OpenShift distributed tracing 3.7.0 rhosdt rhosdt-3.7-1758537735fixed: vendor fix RHSA-2025:17043
-
Red Hat OpenShift GitOps 1.16 openshift-gitops-1fixed: vendor fix RHSA-2025:17730
-
Red Hat OpenShift GitOps 1.17 openshift-gitops-1fixed: vendor fix RHSA-2025:17731
1 more fixed, 40 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
- 16 mo ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 31% 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:N/I:H/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | >=1.24.0-0, <1.24.4 |
1.24.4 |
| go | stdlib | >=1.24.0-0, <1.24.4 |
1.24.4 |
Affected products
- Go standard library crypto/x509
References
-
go.dev
/cl/670375
web, patch
-
go.dev
/issue/73612
web, report
-
groups.google.com
/g/golang-announce/c/ufZ8WpEsA3A
web
-
pkg.go.dev
/vuln/GO-2025-3749
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-22874
web
Sources
- CVE List CVE-2025-22874
- NVD CVE-2025-22874
- OSV BIT-golang-2025-22874
- OSV GO-2025-3749
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.