OESA-2026-1698

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-1698
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-1698.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-1698
Upstream
Published
2026-03-20T14:26:47Z
Modified
2026-03-20T14:30:57.207177Z
Summary
golang security update
Details

The Go Programming Language.

Security Fix(es):

The net/url package does not set a limit on the number of query parameters in a query. While the maximum size of query parameters in URLs is generally limited by the maximum request header size, the net/http.Request.ParseForm method can parse large URL-encoded forms. Parsing a large form containing many unique query parameters can cause excessive memory consumption.(CVE-2025-61726)

archive/zip uses a super-linear file name indexing algorithm that is invoked the first time a file in an archive is opened. This can lead to a denial of service when consuming a maliciously constructed ZIP archive.(CVE-2025-61728)

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a "--log-file" argument to this directive, causing pkg-config to write to an attacker-controlled location.(CVE-2025-61731)

A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.(CVE-2025-61732)

Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, downloading modules from non-standard sources (e.g., custom domains) can cause unexpected code execution due to how external VCS commands are constructed. This issue can also be triggered by providing a malicious version string to the toolchain. On systems with Git installed, downloading and building modules with malicious version strings can allow an attacker to write to arbitrary files on the filesystem. This can only be triggered by explicitly providing the malicious version strings to the toolchain and does not affect usage of @latest or bare module paths.(CVE-2025-68119)

During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between the initial handshake and the resumed handshake, the resumed handshake may succeed when it should have failed. This may happen when a user calls Config.Clone and mutates the returned Config, or uses Config.GetConfigForClient. This can cause a client to resume a session with a server that it would not have resumed with during the initial handshake, or cause a server to resume a session with a client that it would not have resumed with during the initial handshake.(CVE-2025-68121)

Database specific
{
    "severity": "Critical"
}
References

Affected packages

openEuler:24.03-LTS-SP2 / golang

Package

Name
golang
Purl
pkg:rpm/openEuler/golang&distro=openEuler-24.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.21.4-42.oe2403sp2

Ecosystem specific

{
    "aarch64": [
        "golang-1.21.4-42.oe2403sp2.aarch64.rpm"
    ],
    "x86_64": [
        "golang-1.21.4-42.oe2403sp2.x86_64.rpm"
    ],
    "noarch": [
        "golang-devel-1.21.4-42.oe2403sp2.noarch.rpm",
        "golang-help-1.21.4-42.oe2403sp2.noarch.rpm"
    ],
    "src": [
        "golang-1.21.4-42.oe2403sp2.src.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-1698.json"