CVE-2025-58188Golang Go
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 29, 2025
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that assumes they implement the Equal method. This affects programs which validate arbitrary certificate chains.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.24.8 |
1.24.8 |
go get stdlib@v1.24.8 |
| Go | stdlib |
≥ 1.25.0 < 1.25.2 |
1.25.2 |
go get stdlib@v1.25.2 |
Per OSV / GitHub Advisories (GO-2025-4013). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.24.8 |
| golang | go | ≥ 1.25.0 < 1.25.2 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7385 · May 15, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7291 · May 14, 2026 Critical
- Security update for go1.24-openssl · SUSE · SUSE-SU-2026:20629-1 · Mar 3, 2026 Critical
- Security update for go1.24-openssl · SUSE · openSUSE-SU-2026:20308-1 · Mar 3, 2026 Critical
Also: SUSE (+10)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Issue Tracking
- groups.google.com Mailing List Release Notes
- pkg.go.dev Vendor Advisory
- www.openwall.com Mailing List Release Notes