SB2026073125 - Multiple vulnerabilities in Go programming language
Published: July 31, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 9 vulnerabilities.
1) Resource exhaustion (CVE-ID: CVE-2026-32280)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled resource consumption in the Certificate.Verify chain-building logic in crypto/x509 when processing a large number of intermediate certificates supplied through VerifyOptions.Intermediates. A remote attacker can provide a large number of intermediate certificates to cause a denial of service.
This affects both direct users of crypto/x509 and users of crypto/tls.
2) Input validation error (CVE-ID: CVE-2026-32281)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper input validation in Certificate.Verify in crypto/x509 when validating certificate chains containing a very large number of policy mappings. A remote attacker can present a specially crafted certificate chain to cause a denial of service.
This only affects validation of otherwise trusted certificate chains issued by a root CA in the VerifyOptions.Roots CertPool or in the system certificate pool.
3) Protection mechanism failure (CVE-ID: CVE-2026-27140)
CWE-ID: CWE-693 - Protection Mechanism Failure
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to a trust layer bypass in cmd/go when processing SWIG file names containing 'cgo' and crafted payloads at build time. A remote attacker can supply a specially crafted SWIG file to execute arbitrary code.
4) Allocation of Resources Without Limits or Throttling (CVE-ID: CVE-2026-32288)
CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled memory allocation in archive/tar Reader.Next when parsing a maliciously crafted tar archive containing a large number of sparse regions encoded in the old GNU sparse map format. A remote attacker can supply a specially crafted archive to cause a denial of service.
5) Integer overflow (CVE-ID: CVE-2026-27143)
CWE-ID: CWE-190 - Integer overflow
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a local user to cause memory corruption.
The vulnerability exists due to integer overflow in cmd/compile when optimizing arithmetic over induction variables in loops. A local user can compile specially crafted code to cause memory corruption.
The issue can result in invalid indexing at runtime.
6) Buffer overflow (CVE-ID: CVE-2026-27144)
CWE-ID: CWE-119 - Memory corruption
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a local user to cause memory corruption at runtime.
The vulnerability exists due to memory corruption in cmd/compile when compiling code involving a no-op interface conversion on pointers used as operands of a memory move. A local user can compile specially crafted code to cause memory corruption at runtime.
7) Improper Certificate Validation (CVE-ID: CVE-2026-33810)
CWE-ID: CWE-295 - Improper Certificate Validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to bypass certificate name constraints.
The vulnerability exists due to improper certificate validation in the Certificate.Verify function in crypto/x509 when verifying a certificate chain containing excluded DNS constraints and wildcard DNS SANs that use different letter case than the constraint. A remote attacker can present a specially crafted certificate chain to bypass certificate name constraints.
This only affects validation of otherwise trusted certificate chains issued by a root CA in the VerifyOptions.Roots CertPool or in the system certificate pool.
8) Cross-site scripting (CVE-ID: CVE-2026-32289)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to inject arbitrary script code.
The vulnerability exists due to improper neutralization of input during web page generation in html/template when processing template actions within JavaScript template literals. A remote attacker can supply crafted input that is incorrectly escaped to inject arbitrary script code.
Exploitation requires templates that use branches or actions within JavaScript template literals.
9) Time-of-check Time-of-use (TOCTOU) Race Condition (CVE-ID: CVE-2026-32282)
CWE-ID: CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a local user to modify file permissions outside the intended root directory.
The vulnerability exists due to improper access control in Root.Chmod and internal/syscall/unix Fchmodat when handling a chmod operation on Linux. A local user can replace the target with a symlink during the check-and-operation window to modify file permissions outside the intended root directory.
Exploitation requires a race condition in which the target is swapped with a symlink while the chmod operation is in progress.
Remediation
Install update from vendor's website.
References
- https://pkg.go.dev/vuln/GO-2026-4947
- https://go.dev/cl/758320
- https://pkg.go.dev/vuln/GO-2026-4946
- https://go.dev/cl/758061
- https://pkg.go.dev/vuln/GO-2026-4871
- https://go.dev/cl/763768
- https://pkg.go.dev/vuln/GO-2026-4869
- https://go.dev/cl/763766
- https://pkg.go.dev/vuln/GO-2026-4868
- https://go.dev/cl/763765
- https://pkg.go.dev/vuln/GO-2026-4867
- https://go.dev/cl/763764
- https://pkg.go.dev/vuln/GO-2026-4866
- https://go.dev/cl/763763
- https://pkg.go.dev/vuln/GO-2026-4865
- https://go.dev/cl/763762
- https://pkg.go.dev/vuln/GO-2026-4864
- https://go.dev/cl/763761