Summary
This update for go1.25 fixes the following issues:
Update to go1.25.13 (released 2026-08-13, bsc#1244485).
Security issues fixed:
- CVE-2026-33818: encoding/asn1: unenforced recursion limit can lead to stack exhaustion when parsing deeply-nested,
recursive structures (bsc#1275034).
- CVE-2026-39821: golang.org/x/net/idna: failure to reject ASCII-only Punycode-encoded labels allows for validation
bypass and privilege escalation (bsc#1266609).
- CVE-2026-56853: net/http: missing timeout when doing unencrypted HTTP/2 check can lead to a denial of service
(bsc#1275028).
- CVE-2026-56858: html/template: improper Javascript regexp context tracking allows for XSS attacks (bsc#1275033).
- CVE-2026-56859: encoding/xml: missing recursion depth guard during decode operation can lead to stack exhaustion
and a denial of service (bsc#1275026).
- CVE-2026-56860: net/url: quadratic time complexity in `resolvePath` when processing certain input can lead to high
memory allocation overhead and a denial of service (bsc#1275029).
- CVE-2026-56862: crypto/tls: no limit set for handshake messages sent post-handshake allows for denial of service
(bsc#1275032).
- CVE-2026-56864: x/mod/sumdb: unauthenticated hashes accepted in `Lookup` allows for a coordinating GOPROXY and
GOSUMDB to serve a client malicious module content (bsc#1275025).
- CVE-2026-56865: x/mod/sumdb/tlog: improper transparency log tile verification allows for bypass on crafted input
and can lead to malicious module content to be accepted (bsc#1275024).
Changes for go1.25.13:
- go#79875 cmd/compile: prove misscompilation in slicemask folding leaves garbage in upper bits
- go#80098 cmd/compile: internal compiler error invalid heap allocated var without Heapaddr
- go#80364 os: Root's MkdirAll can't create paths ending in forward slashes
- go#80366 os: TestRootMultiReadFile fails on netbsd/arm64 after CL 797880
- go#80368 os: TestRootConsistencyRemoveAll fails on Plan 9 after CL 797880
- go#80393 runtime: arm64 found pointer to free object with safe code
- go#80440 runtime: uninitialized register due to wrong ABI in mach_vm_region_trampoline leads to libc following
garbage stack data as a pointer
- go#80477 cmd/compile: riscv64 miscompiles struct copy, corrupting a []byte slice field
- go#80500 runtime: js/wasm: "found bad pointer in Go heap" -- link-layout-constant value recorded as a pointer in the
write-barrier buffer
- go#80578 cmd/compile: regalloc uses unreliable type data (like v.Type.IsSigned()) to choose the restore of spills
- go#80605 crypto/tls: escape hatch for FIPS 140-3 mode Extended Master Secret enforcement
- go#80614 cmd/compile: mips64le misscompile OffPtr by a const which doesn't fit 32bits resulting in panic
- go#80616 cmd/compile: mips/mips64, multiply/divide results spilled from HI/LO corrupted w/ big stack frames
- go#80618 cmd/compile: prove bug causes invalid indirect call
- go#80737 runtime: fpTracebackPartialExpand SIGSEGV under high panic load
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.0 | go1.25 | 1.25.13-160000.1.1 |
Vulnerabilities 9
-
Critical 9.6
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior can lead to privilege …
-
High 8.4
Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog
A malicious GOPROXY was previously capable of forging up to two sumdb tiles that allow for a requested module to bypass the GOSUMDB check and persist attacker-controlled module content to a local Go module cache. This attack allows for a malicious GOPROXY to …
-
High 7.5
Enforce maximum recursion depth in encoding/asn1
Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.
-
High 7.5
Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http
When a server is configured to support unencrypted HTTP/2, it reads a few bytes from each new connection to see if they contain the HTTP/2 client preface. ReadHeaderTimeout is unexpectedly not being applied when doing this.
-
High 7.5
Add recursion depth guard during decode in encoding/xml
Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.
-
High 7.5
Limit handshake messages we are willing to accept post-handshake in crypto/tls
Handshake messages, such as KeyUpdate, are always considered as state-advancing, regardless of whether a handshake has been completed or not. As a result, a malicious client can keep sending KeyUpdate messages to force the server to keep performing key deriva…
-
High 7.5
Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb
A malicious GOSUMDB was capable of serving arbitrary module content not contained within the transparency log. This attack allows for a coordinating GOPROXY and GOSUMDB to serve a client malicious module content that cannot be detected by evaluating the trans…
-
Medium 6.1
Fix Javascript regexp context tracking in html/template
Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.
-
Medium 5.9
Avoid quadratic complexity in resolvePath in net/url
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolution operates on a byte…
References
-
report
https://bugzilla.suse.com/1244485
-
report
https://bugzilla.suse.com/1266609
-
report
https://bugzilla.suse.com/1275024
-
report
https://bugzilla.suse.com/1275025
-
report
https://bugzilla.suse.com/1275026
-
report
https://bugzilla.suse.com/1275028
-
report
https://bugzilla.suse.com/1275029
-
report
https://bugzilla.suse.com/1275032
-
report
https://bugzilla.suse.com/1275033
-
report
https://bugzilla.suse.com/1275034
-
web
https://www.suse.com/security/cve/CVE-2026-33818
-
web
https://www.suse.com/security/cve/CVE-2026-39821
-
web
https://www.suse.com/security/cve/CVE-2026-56853
-
web
https://www.suse.com/security/cve/CVE-2026-56858
-
web
https://www.suse.com/security/cve/CVE-2026-56859
-
web
https://www.suse.com/security/cve/CVE-2026-56860
-
web
https://www.suse.com/security/cve/CVE-2026-56862
-
web
https://www.suse.com/security/cve/CVE-2026-56864
-
web
https://www.suse.com/security/cve/CVE-2026-56865