CVE-2025-61729
crypto/x509: golang: Denial of Service due to excessive resource consumption via crafted certificate
Overview
Description
Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption.
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
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-295
Affected packages · 2
Operating systems · 1,789 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | golang | 0:1.25.5-1.azl3 |
Oracle Linux 2 releases · 26 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | udica | 0.2.6-21.module+el8.10.0+90820+1c0b9746 |
| 8 | fuse-overlayfs | 1.13-1.module+el8.10.0+90820+1c0b9746 |
| 8 | crun | 1.14.3-2.module+el8.10.0+90820+1c0b9746 |
| 8 | oci-seccomp-bpf-hook | 1.2.10-1.module+el8.10.0+90820+1c0b9746 |
| 8 | slirp4netns | 1.2.3-1.module+el8.10.0+90820+1c0b9746 |
| 8 | delve | 1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd |
30 more rows
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | go | 1.24.13-1.ph5 |
Red Hat 6 releases · 47 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rhc-worker-script +3 | affected | — |
| 7 | butane +19 | wont fix | — |
| 7 | rhc | 1:0.2.4-3.el7_9 | RHSA-2026:7676 |
| 7 (satellite:el8) | yggdrasil-worker-forwarder | affected | — |
| 8 | ceph +33 | affected | — |
| 8 | buildah +7 | wont fix | — |
220 more rows
SUSE Linux Enterprise 5 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-24 +2 | 1.24.11-150000.1.50.1 | SUSE-SU-2025:4337-1 |
| 15.4 | go1-24-openssl +2 | 1.24.12-150000.1.18.1 | SUSE-SU-2026:0296-1 |
| 15.4 | go1-25 +2 | 1.25.5-150000.1.23.1 | SUSE-SU-2025:4336-1 |
| 15.4 | go1-25-openssl +2 | 1.25.6-150000.1.9.1 | SUSE-SU-2026:0297-1 |
| 15.5 | go1-24 +2 | 1.24.11-150000.1.50.1 | SUSE-SU-2025:4337-1 |
| 15.5 | go1-24-openssl +2 | 1.24.12-150000.1.18.1 | SUSE-SU-2026:0296-1 |
14 more rows
alma 5 releases · 35 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-docs +3 | 1.25.5-1.el10_1.alma.1 |
| 10 | podman-docker | 7:5.6.0-12.el10_1.alma.1 |
| 8 | osbuild-composer +2 | 101.4-3.el8_10.alma.1 |
| 8 | git-lfs | 3.4.1-7.el8_10 |
| 8 | grafana-pcp | 5.1.1-11.el8_10 |
| 8 | grafana +1 | 9.2.10-27.el8_10 |
39 more rows
alpine 4 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.24.11-r0 |
| 3.23 | go | 1.25.5-r0 |
| 3.23 | rclone | 1.72.1-r0 |
| 3.23 | docker | 29.1.2-r0 |
| 3.24 | go | 1.25.5-r0 |
| 3.24 | rclone | 1.72.1-r0 |
4 more rows
amazon linux 1 release · 16 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | oci-add-hooks +2 | 0-0.1.20200504git268e3bb.amzn2023.0.7 |
| 2023 | amazon-ecr-credential-helper | 0.11.0-2.amzn2023 |
| 2023 | soci-snapshotter | 0.12.0-1.amzn2023.0.2 |
| 2023 | golang-github-burntsushi-toml-test +3 | 0.2.0-8.amzn2023.0.3 |
| 2023 | runfinch-finch | 1.10.0-1.amzn2023.0.6 |
| 2023 | ecs-init | 1.101.1-1.amzn2023 |
10 more rows
chainguard 1 release · 697 packages
| Release | Package | Fixed in |
|---|---|---|
| go-tools +24 | not affected | |
| scanner-test-golang-vulnerability-fixed | 0.0.1-r1 | |
| stakater-reloader-0-0-119 | 0.0.119-r26 | |
| kube-vip-cloud-provider | 0.0.12-r7 | |
| stakater-reloader-0-0-128 | 0.0.128-r25 | |
| harbor-cli | 0.0.15-r1 |
691 more rows
debian 4 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
| 13 | golang-1-24 | affected |
| 14 | golang-1-24 | affected |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | affected | |
| golang-1-24 | 1.24.11 |
minimos 1 release · 227 packages
| Release | Package | Fixed in |
|---|---|---|
| pombump | 0.0.16-r3 | |
| tw | 0.0.34-r1 | |
| cargobump | 0.1.0-r3 | |
| grype | 0.104.1-r1 | |
| falcoctl +1 | 0.11.4-r3 | |
| kserve-modelmesh-runtime-adapter +2 | 0.12.0-r3 |
221 more rows
openSUSE 1 release · 7 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | regclient +3 | 0.11.1-1.1 | openSUSE-SU-2025:15807-1 |
| Tumbleweed | buildpacks-cli +3 | 0.39.1-1.1 | openSUSE-SU-2025:15817-1 |
| Tumbleweed | digger-cli +3 | 0.6.143-1.1 | openSUSE-SU-2026:10260-1 |
| Tumbleweed | go1-24 +3 | 1.24.11-1.1 | openSUSE-SU-2025:15796-1 |
| Tumbleweed | go1-25 +3 | 1.25.5-1.1 | openSUSE-SU-2025:15795-1 |
| Tumbleweed | k6 +3 | 1.5.0-1.1 | openSUSE-SU-2026:10030-1 |
1 more row
openSUSE Leap 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | go1-24 +3 | 1.24.11-160000.1.1 | openSUSE-SU-2025:20158-1 |
| 16.0 | go1-24-openssl +2 | 1.24.13-160000.1.1 | openSUSE-SU-2026:20308-1 |
| 16.0 | go1-25 +3 | 1.25.5-160000.1.1 | openSUSE-SU-2025:20157-1 |
| 16.0 | go1-25-openssl +2 | 1.25.7-160000.1.1 | openSUSE-SU-2026:20301-1 |
rocky 5 releases · 30 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | yggdrasil | 0.4.8-3.el10_1 |
| 10 | ipp-usb | 0.9.27-4.el10_1 |
| 10 | delve | 1.25.2-2.el10_1 |
| 10 | go-toolset +7 | 1.25.5-1.el10_1 |
| 10 | delve | 1.26.1-1.el10_2 |
| 10 | grafana +1 | 10.2.6-22.el10_1 |
159 more rows
root.io debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | affected |
| 13 | golang-1-24 +1 | 1.24.4-1.root.io.18 |
wolfi 1 release · 326 packages
| Release | Package | Fixed in |
|---|---|---|
| go-tools +14 | not affected | |
| kube-vip-cloud-provider | 0.0.12-r7 | |
| harbor-cli | 0.0.15-r1 | |
| pombump | 0.0.16-r2 | |
| nodetaint | 0.0.4-r39 | |
| sbom-convert | 0.0.7-r6 |
320 more rows
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:3428
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:3928
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-61729
- bugzilla.redhat.com https://bugzilla.redhat.com/2418462
- bugzilla.redhat.com https://bugzilla.redhat.com/2434432
- bugzilla.redhat.com https://bugzilla.redhat.com/2437111
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2268022
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2418462
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2418900
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
Show all 23 references
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24785
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61729
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-65637
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-3928.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:3428
- go.dev https://go.dev/cl/725920
- go.dev https://go.dev/issue/76445
- groups.google.com https://groups.google.com/g/golang-announce/c/8FJoBkPddm4
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-61729.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-5146.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-61729
- pkg.go.dev https://pkg.go.dev/vuln/GO-2025-4155
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-61729
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.