CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · Vendors

Golang
172 vulnerabilities.

All published vulnerabilities with a CVE number in Golang products, newest first, with severity and references.

Page 1 of 2

CVESummaryPublishedCVSS
CVE-2026-42506Golang Net: Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in …2026-05-226.1
CVE-2026-42502Golang Net: Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in …2026-05-226.1
CVE-2026-27136Golang Net: Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in …2026-05-226.1
CVE-2026-25681Golang Net: Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in …2026-05-226.1
CVE-2026-25680Golang Net: Parsing arbitrary HTML can consume excessive CPU time, possibly leading to denial of service.2026-05-226.5
CVE-2025-68121Golang Go: During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between the initial handshake and the …2026-02-0510.0
CVE-2025-68119Golang Go: Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, …2026-01-287.0
CVE-2025-61732Golang Go: A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.2026-02-058.6
CVE-2025-61731Golang Go: 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 …2026-01-287.8
CVE-2025-61730Golang Go: During the TLS 1.3 handshake if multiple messages are sent in records that span encryption level boundaries (for instance the Client Hello and …2026-01-285.3
CVE-2025-61729Golang Go: Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, …2025-12-027.5
CVE-2025-61728Golang Go: 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 …2026-01-286.5
CVE-2025-61727Golang Go: An excluded subdomain constraint in a certificate chain does not restrict the usage of wildcard SANs in the leaf certificate. For example a …2025-12-036.5
CVE-2025-61726Golang Go: 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 …2026-01-287.5
CVE-2025-61724Golang Go: The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines. When the number of lines in a …2025-10-295.3
CVE-2025-61723Golang Go: The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input. This affects programs which parse …2025-10-297.5
CVE-2025-58189Golang Go: When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which …2025-10-295.3
CVE-2025-58188Golang Go: Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that assumes they implement the …2025-10-297.5
CVE-2025-58187Golang Go: Due to the design of the name constraint checking algorithm, the processing time of some inputs scale non-linearly with respect to the size of the …2025-10-297.5
CVE-2025-58185Golang Go: Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.2025-10-295.3
CVE-2025-58181Golang Crypto: SSH servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause …2025-11-195.3
CVE-2025-47914Golang Crypto: SSH Agent servers do not validate the size of messages when processing new identity requests, which may cause the program to panic if the message …2025-11-195.3
CVE-2025-47912Golang Go: The Parse function permits values other than IPv6 addresses to be included in square brackets within the host component of a URL. RFC 3986 permits …2025-10-295.3
CVE-2025-47907Golang Go: Cancelling a query (e.g. by cancelling the context passed to one of the query methods) during a call to the Scan method of the returned Rows can …2025-08-077.0
CVE-2025-47906Golang Go: If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", …2025-09-186.5
CVE-2025-22873Golang Go: It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would …2026-02-043.8
CVE-2025-4674Golang Go: The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration …2025-07-298.6
CVE-2025-0913Golang Go: os.OpenFile(path, os.O_CREATE|O_EXCL) behaved differently on Unix and Windows systems when the target path was a dangling symlink. On Unix systems, …2025-06-115.5
CVE-2024-24790Golang Go: The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which …2024-06-059.8
CVE-2024-24789Golang Go: The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment …2024-06-055.5
CVE-2024-3566Golang Go: A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess …2024-04-109.8
CVE-2023-45287Golang Go: Before Go 1.20, the RSA based TLS key exchanges used the math/big library, which is not constant time. RSA blinding was applied to prevent timing …2023-12-057.5
CVE-2023-45285Golang Go: Using go get to fetch a module with the ".git" suffix may unexpectedly fallback to the insecure "git://" protocol if the module is unavailable via …2023-12-067.5
CVE-2023-45284Golang Go: On Windows, The IsLocal function does not correctly detect reserved device names in some cases. Reserved names followed by spaces, such as "COM1 ", …2023-11-095.3
CVE-2023-45283Golang Go: The filepath package does not recognize paths with a \??\ prefix as special. On Windows, a path beginning with \??\ is a Root Local Device path …2023-11-097.5
CVE-2023-39326Golang Go: A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the …2023-12-065.3
CVE-2023-39325Golang Go: A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the …2023-10-117.5
CVE-2023-39323Golang Go: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be …2023-10-058.1
CVE-2023-39322Golang Go: QUIC connections do not set an upper bound on the amount of data buffered when reading post-handshake messages, allowing a malicious QUIC …2023-09-087.5
CVE-2023-39321Golang Go: Processing an incomplete post-handshake message for a QUIC connection can cause a panic.2023-09-087.5
CVE-2023-39320Golang Go: The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the …2023-09-089.8
CVE-2023-39319Golang Go: The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in …2023-09-086.1
CVE-2023-39318Golang Go: The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may …2023-09-086.1
CVE-2023-29409Golang Go: Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. With fix, the size of …2023-08-025.3
CVE-2023-29408Golang Image: The TIFF decoder does not place a limit on the size of compressed tile data. A maliciously-crafted image can exploit this to cause a small image …2023-08-026.5
CVE-2023-29407Golang Image: A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause …2023-08-026.5
CVE-2023-29406Golang Go: The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or …2023-07-116.5
CVE-2023-29405Golang Go: The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running …2023-06-089.8
CVE-2023-29404Golang Go: The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running …2023-06-089.8
CVE-2023-29403Golang Go: On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain …2023-06-087.8
CVE-2023-29402Golang Go: The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which …2023-06-089.8
CVE-2023-29400Golang Go: Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input can result in output with unexpected results …2023-05-117.3
CVE-2023-24540Golang Go: Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character …2023-05-119.8
CVE-2023-24539Golang Go: Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a …2023-05-117.3
CVE-2023-24538Golang Go: Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since …2023-04-069.8
CVE-2023-24537Golang Go: Calling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due …2023-04-067.5
CVE-2023-24536Golang Go: Multipart form parsing can consume large amounts of CPU and memory when processing form inputs containing very large numbers of parts. This stems …2023-04-067.5
CVE-2023-24534Golang Go: HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. …2023-04-067.5
CVE-2023-24532Golang Go: The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar …2023-03-085.3
CVE-2023-3978Golang Networking: Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS …2023-08-026.1
CVE-2022-41727Golang Image: An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a …2023-02-285.5
CVE-2022-41725Golang Go: A denial of service is possible from excessive resource consumption in net/http and mime/multipart. Multipart form parsing with …2023-02-287.5
CVE-2022-41724Golang Go: Large handshake records may cause panics in crypto/tls. Both clients and servers may send large TLS handshake records which cause servers and …2023-02-287.5
CVE-2022-41723Golang Go: A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, sufficient to cause a denial of service from a …2023-02-287.5
CVE-2022-41722Golang Go: A path traversal vulnerability exists in filepath.Clean on Windows. On Windows, the filepath.Clean function could transform an invalid path such as …2023-02-287.5
CVE-2022-41721Golang H2c: A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. …2023-01-137.5
CVE-2022-41720Golang Go: On Windows, restricted files can be accessed via os.DirFS and http.Dir. The os.DirFS function and http.Dir type provide access to a tree of files …2022-12-077.5
CVE-2022-41717Golang Go: An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP header …2022-12-085.3
CVE-2022-41716Golang Go: Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, …2022-11-027.5
CVE-2022-41715Golang Go: Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp …2022-10-147.5
CVE-2022-32190Golang Go: JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the …2022-09-137.5
CVE-2022-32189Golang Go: A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially …2022-08-107.5
CVE-2022-32149Golang Text: An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.2022-10-147.5
CVE-2022-32148Golang Go: Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggered by calling httputil.ReverseProxy.ServeHTTP …2022-08-106.5
CVE-2022-30635Golang Go: Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack …2022-08-107.5
CVE-2022-30634Golang Go: Infinite loop in Read in crypto/rand before Go 1.17.11 and Go 1.18.3 on Windows allows attacker to cause an indefinite hang by passing a buffer …2022-07-157.5
CVE-2022-30633Golang Go: Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via …2022-08-107.5
CVE-2022-30632Golang Go: Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a …2022-08-107.5
CVE-2022-30631Golang Go: Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion …2022-08-107.5
CVE-2022-30630Golang Go: Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path …2022-08-107.5
CVE-2022-30629Golang Go: Non-random values for ticket_age_add in session tickets in crypto/tls before Go 1.17.11 and Go 1.18.3 allow an attacker that can observe TLS …2022-08-103.1
CVE-2022-30580Golang Go: Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binaries in the working directory named either …2022-08-107.8
CVE-2022-29804Golang Go: Incorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows allows …2022-08-107.5
CVE-2022-29526Golang Go: Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function …2022-06-235.3
CVE-2022-28327Golang Go: The generic P-256 feature in crypto/elliptic in Go before 1.17.9 and 1.18.x before 1.18.1 allows a panic via long scalar input.2022-04-207.5
CVE-2022-28131Golang Go: Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion …2022-08-107.5
CVE-2022-27664Golang Go: In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during …2022-09-067.5
CVE-2022-27536Golang Go: Certificate.Verify in crypto/x509 in Go 1.18.x before 1.18.1 can be caused to panic on macOS when presented with certain malformed certificates. …2022-04-207.5
CVE-2022-27191Golang Ssh: The golang.org/x/crypto/ssh package before 0.0.0-20220314234659-1baeb1ce4c0b for Go allows an attacker to crash a server in certain circumstances …2022-03-187.5
CVE-2022-24921Golang Go: regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression.2022-03-057.5
CVE-2022-24675Golang Go: encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data.2022-04-207.5
CVE-2022-23806Golang Go: Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value …2022-02-119.1
CVE-2022-23773Golang Go: cmd/go in Go before 1.16.14 and 1.17.x before 1.17.7 can misinterpret branch names that falsely appear to be version tags. This can lead to …2022-02-117.5
CVE-2022-23772Golang Go: Rat.SetString in math/big in Go before 1.16.14 and 1.17.x before 1.17.7 has an overflow that can lead to Uncontrolled Memory Consumption.2022-02-117.5
CVE-2022-2880Golang Go: Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparsable parameters rejected by net/http. …2022-10-147.5
CVE-2022-2879Golang Go: Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts …2022-10-147.5
CVE-2022-1962Golang Go: Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack …2022-08-105.5
CVE-2022-1705Golang Go: Acceptance of some invalid Transfer-Encoding headers in the HTTP/1 client in net/http before Go 1.17.12 and Go 1.18.4 allows HTTP request smuggling …2022-08-106.5
CVE-2021-44717Golang Go: Go before 1.16.12 and 1.17.x before 1.17.5 on UNIX allows write operations to an unintended file or unintended network connection as a consequence …2022-01-014.8
CVE-2021-44716Golang Go: net/http in Go before 1.16.12 and 1.17.x before 1.17.5 allows uncontrolled memory consumption in the header canonicalization cache via HTTP/2 …2022-01-017.5

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.

Too many to
patch at once?

Providers for vulnerability management find the affected systems in your environment, set the order and keep the patching going.