Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-22874

crypto/x509: Usage of ExtKeyUsageAny disables policy validation in crypto/x509

Overview

Published
11 Jun 2025
Modified
17 Jun 2026
High CVE
2 Registry packages
860 OS packages
14 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages · 2

Packages affected by CVE-2025-22874
EcosystemPackageVulnerableFixed 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

Open a package to see all its vulnerabilities.

Operating systems · 1,032 fixes

Azure Linux 1 release · 1 package

fixed 1
golang
Azure Linux fixes for CVE-2025-22874
ReleasePackageFixed in
3.0 golang 0:1.24.4-1.azl3

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2025-22874
ReleasePackageFixed in
5.0 go 1.26.3-1.ph5

Red Hat 2 releases · 3 packages

affected 1 fixed 9 wont fix 1
delve go-toolset rhel9-bootc-image-builder
Red Hat fixes for CVE-2025-22874
ReleasePackageFixed inAdvisory
8 (go-toolset:rhel8) delve +8 affected —
8 (go-toolset:rhel8) delve 0:1.26.1-1.module+el8.4.0+25181+7ce5b91c RHSA-2026:90994
8 (go-toolset:rhel8) delve 0:1.26.1-1.module+el8.6.0+24782+a062e766 RHSA-2026:87246
8 (go-toolset:rhel8) delve 0:1.26.1-1.module+el8.8.0+24781+86ad105d RHSA-2026:87245
8 (go-toolset:rhel8) go-toolset +7 0:1.26.10-2.module+el8.4.0+25201+9a419e96 RHSA-2026:90994
8 (go-toolset:rhel8) go-toolset +7 0:1.26.10-4.module+el8.6.0+25114+90ecdb41 RHSA-2026:87246

5 more rows

SUSE Linux Enterprise 4 releases · 2 packages

fixed 8
go1-24 go1-24-openssl
SUSE Linux Enterprise fixes for CVE-2025-22874
ReleasePackageFixed inAdvisory
15.4 go1-24 +2 1.24.4-150000.1.26.1 SUSE-SU-2025:01846-1
15.4 go1-24-openssl +2 1.24.4-150000.1.9.1 SUSE-SU-2025:02120-1
15.5 go1-24 +2 1.24.4-150000.1.26.1 SUSE-SU-2025:01846-1
15.5 go1-24-openssl +2 1.24.4-150000.1.9.1 SUSE-SU-2025:02120-1
15.6 go1-24 +2 1.24.4-150000.1.26.1 SUSE-SU-2025:01846-1
15.6 go1-24-openssl +2 1.24.6-150600.13.9.1 SUSE-SU-2025:03158-1

2 more rows

alma 1 release · 1 package

fixed 1
golang-docs
alma fixes for CVE-2025-22874
ReleasePackageFixed in
10 golang-docs +3 1.24.4-1.el10_0.alma.1

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2025-22874
ReleasePackageFixed in
3.22 go 1.24.4-r0
3.23 go 1.24.4-r0
3.24 go 1.24.4-r0
edge go 1.24.4-r0

amazon linux 1 release · 14 packages

fixed 14
oci-add-hooks amazon-ecr-credential-helper soci-snapshotter runc golang amazon-cloudwatch-agent +8
amazon linux fixes for CVE-2025-22874
ReleasePackageFixed in
2023 oci-add-hooks +2 0-0.1.20200504git268e3bb.amzn2023.0.5
2023 amazon-ecr-credential-helper 0.10.1-2.amzn2023
2023 soci-snapshotter 0.9.0-1.amzn2023.0.4
2023 runc +2 1.2.6-1.amzn2023.0.1
2023 golang +6 1.24.4-1.amzn2023.0.1
2023 amazon-cloudwatch-agent 1.300055.3-1.amzn2023

8 more rows

chainguard 1 release · 583 packages

not affected 1 fixed 582
gofumpt qemu-guesthelper kube-vip-cloud-provider-0-0-10 stakater-reloader-0-0-119 kube-vip-cloud-provider stakater-reloader-0-0-128 +577
chainguard fixes for CVE-2025-22874
ReleasePackageFixed in
gofumpt +9 not affected
qemu-guesthelper 0.0.1-r2
kube-vip-cloud-provider-0-0-10 0.0.10-r2
stakater-reloader-0-0-119 0.0.119-r21
kube-vip-cloud-provider 0.0.12-r2
stakater-reloader-0-0-128 0.0.128-r20

577 more rows

debian 2 releases · 1 package

fixed 2
golang-1-24
debian fixes for CVE-2025-22874
ReleasePackageFixed in
13 golang-1-24 1.24.4-1
14 golang-1-24 1.24.4-1

echo 1 release · 1 package

fixed 1
golang-1-24
echo fixes for CVE-2025-22874
ReleasePackageFixed in
golang-1-24 1.24.4

minimos 1 release · 41 packages

fixed 41
pombump prometheus-alertmanager kwok prometheus-operator ollama gobump +35
minimos fixes for CVE-2025-22874
ReleasePackageFixed in
pombump 0.0.14-r1
prometheus-alertmanager 0.28.1-r2
kwok 0.7.0-r1
prometheus-operator 0.83.0-r1
ollama 0.9.0-r1
gobump 0.9.0-r3

35 more rows

openSUSE 1 release · 5 packages

fixed 5
govulncheck-vulndb go1-24 minio-client nova polaris
openSUSE fixes for CVE-2025-22874
ReleasePackageFixed inAdvisory
Tumbleweed govulncheck-vulndb 0.0.20250612T141001-1.1 openSUSE-SU-2025:15225-1
Tumbleweed go1-24 +3 1.24.4-1.1 openSUSE-SU-2025:15224-1
Tumbleweed minio-client +1 20250721T052808Z-1.1 openSUSE-SU-2025:15379-1
Tumbleweed nova +3 3.11.4-1.1 openSUSE-SU-2025:15251-1
Tumbleweed polaris +3 9.6.4-1.1 openSUSE-SU-2025:15263-1

root.io debian 1 release · 1 package

fixed 1
rootio-golang-1-24
root.io debian fixes for CVE-2025-22874
ReleasePackageFixed in
13 rootio-golang-1-24 1.24.4-1

wolfi 1 release · 359 packages

not affected 1 fixed 358
gofumpt kube-vip-cloud-provider pombump dagdotdev wireguard-go local-path-provisioner +353
wolfi fixes for CVE-2025-22874
ReleasePackageFixed in
gofumpt +4 not affected
kube-vip-cloud-provider 0.0.12-r2
pombump 0.0.14-r1
dagdotdev 0.0.16-r1
wireguard-go 0.0.20250522-r1
local-path-provisioner 0.0.31-r6

353 more rows

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.