CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NHigh (7.5) in go standard library crypto/x509. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.24.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nstdlib (Go): fixed in 1.24.4Explain CVE-2025-22874 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22874?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22874?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-22874 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Go standard library crypto/x509 | from 1.24.0-0 before 1.24.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2025-3749 | Go | stdlib | >=1.24.0-0 <1.24.4 | 1.24.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13 | golang-1.24 | 1.24.4-1 | DEBIAN-CVE-2025-22874 |
| Ubuntu | 14.04:LTS | golang-1.10 | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | 16.04:LTS | golang-1.6, golang-1.10 | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | 18.04:LTS | golang-1.8, golang-1.9, golang-1.10 | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | 20.04:LTS | golang-1.13, golang-1.14, golang-1.18 and 2 more | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | 22.04:LTS | golang-1.17, golang-1.18, golang-1.20 and 3 more | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | 24.04:LTS | golang-1.21, golang-1.23, golang-1.24 | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | 25.10, 26.04:LTS | golang-1.23, golang-1.24 | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | Pro:16.04:LTS | golang-1.13, golang-1.18 | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | Pro:18.04:LTS | golang-1.13, golang-1.16, golang-1.18 | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | Pro:20.04:LTS | golang-1.16 | no fix listed | UBUNTU-CVE-2025-22874 |
| Ubuntu | Pro:22.04:LTS | golang-1.13 | no fix listed | UBUNTU-CVE-2025-22874 |
| Red Hat | enterprise_linux:9::appstream | golang, go-toolset, golang-bin and 5 more | 0:1.24.4-1.el9_6 | RHSA-2025:10676 |
| Red Hat | enterprise_linux:10.0 | golang, go-toolset, golang-bin and 5 more | 0:1.24.4-1.el10_0 | RHSA-2025:10677 |
| Red Hat | rhel_e4s:9.2::appstream | golang, go-toolset, golang-bin and 5 more | 0:1.25.9-1.el9_2 | RHSA-2026:47719 |
| Red Hat | rhel_e4s:9.4::appstream | golang, go-toolset, golang-bin and 4 more | 0:1.25.9-1.el9_4 | RHSA-2026:47712 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 more | go1.24 | 1.24.4-150000.1.26.1 | SUSE-SU-2025:01846-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 more | go1.24-openssl | 1.24.4-150000.1.9.1 | SUSE-SU-2025:02120-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7 | go1.24-openssl | 1.24.6-150600.13.9.1 | SUSE-SU-2025:03158-1 |
| openSUSE | Leap 15.6 | go1.24 | 1.24.4-150000.1.26.1 | SUSE-SU-2025:01846-1 |
| openSUSE | Leap 15.6 | go1.24-openssl | 1.24.6-150600.13.9.1 | SUSE-SU-2025:03158-1 |
| openSUSE | Tumbleweed | go1.24 | 1.24.4-1.1 | openSUSE-SU-2025:15224-1 |
| openSUSE | Tumbleweed | govulncheck-vulndb | 0.0.20250612T141001-1.1 | openSUSE-SU-2025:15225-1 |
| openSUSE | Tumbleweed | minio-client | 20250721T052808Z-1.1 | openSUSE-SU-2025:15379-1 |
| openSUSE | Tumbleweed | nova | 3.11.4-1.1 | openSUSE-SU-2025:15251-1 |
| openSUSE | Tumbleweed | polaris | 9.6.4-1.1 | openSUSE-SU-2025:15263-1 |
| AlmaLinux | 10 | golang-src, golang-docs, golang-misc and 1 more | 1.24.4-1.el10_0.alma.1 | ALSA-2025:10677 |
| Alpine | v3.22, v3.23, v3.24 | go | 1.24.4-r0 | ALPINE-CVE-2025-22874 |
| Azure Linux | 2 | msft-golang | 1.24.1-3 | AZL-63872 |
| Azure Linux | 3 | golang | no fix listed | AZL-78986 AZL-98865 |
| Azure Linux | 3 | golang | 1.24.4-1 | AZL-72104 |
| Alpaquita | 23 | go | 1.23.10-r0 | BELL-CVE-2025-22874 |
| Alpaquita | 25, stream | go | 1.24.4-r0 | BELL-CVE-2025-22874 |
| BellSoft Hardened Containers | 23 | go | 1.23.10-r0 | BELL-CVE-2025-22874 |
| BellSoft Hardened Containers | 25, stream | go | 1.24.4-r0 | BELL-CVE-2025-22874 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Important.
This flaw is rated as an Important severity because the vulnerability was found in the certificate validation logic of the Verify function. When VerifyOptions.KeyUsages includes ExtKeyUsageAny, certificate chains containing policy graphs may bypass certificate policy validation. This flaw allows an attacker to trick the system into accepting an invalid certificate, potentially enabling spoofing attacks, the issue weakens trust decisions in affected cases and impacts system integrity. Confidentiality and availability are not affected.
Red Hat Openshift Container Platform openshift-golang-builder-container ships golang 1.23 and does not ship the affected code.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | golang-0:1.24.4-1.el10_0 | Fixed 2025-07-09 | RHSA-2025:10677 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | go-toolset:rhel8-8040020261027035356.522a0ee4 | Fixed 2026-10-27 | RHSA-2026:90994 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | go-toolset:rhel8-8040020261027035356.522a0ee4 | Fixed 2026-10-27 | RHSA-2026:90994 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | go-toolset:rhel8-8060020261020153812.97d7f71f | Fixed 2026-10-21 | RHSA-2026:87246 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | go-toolset:rhel8-8060020261020153812.97d7f71f | Fixed 2026-10-21 | RHSA-2026:87246 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | go-toolset:rhel8-8080020261020152326.6b4b45d8 | Fixed 2026-10-21 | RHSA-2026:87245 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | go-toolset:rhel8-8080020261020152326.6b4b45d8 | Fixed 2026-10-21 | RHSA-2026:87245 |
| Red Hat Enterprise Linux 9 | golang-0:1.24.4-1.el9_6 | Fixed 2025-07-09 | RHSA-2025:10676 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | golang-0:1.25.9-1.el9_2 | Fixed 2026-07-29 | RHSA-2026:47719 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | golang-0:1.25.9-1.el9_4 | Fixed 2026-07-29 | RHSA-2026:47712 |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-agent-rhel9 | Affected | |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-controller-rhel9 | Affected | |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-rhel9 | Affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-controller-rhel9 | Will not fix | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-git-cloner-rhel9 | Will not fix | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-bundler-rhel9 | Will not fix | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-processing-rhel9 | Will not fix | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-operator-bundle | Affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-shared-resource-rhel9 | Will not fix | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-shared-resource-webhook-rhel9 | Will not fix | |
| 404 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-22874.