Golang
172 vulnerabilities.
All published vulnerabilities with a CVE number in Golang products, newest first, with severity and references.
Page 1 of 2
| CVE | Summary | Published | CVSS |
|---|---|---|---|
| CVE-2026-42506 | Golang 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-22 | 6.1 |
| CVE-2026-42502 | Golang 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-22 | 6.1 |
| CVE-2026-27136 | Golang 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-22 | 6.1 |
| CVE-2026-25681 | Golang 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-22 | 6.1 |
| CVE-2026-25680 | Golang Net: Parsing arbitrary HTML can consume excessive CPU time, possibly leading to denial of service. | 2026-05-22 | 6.5 |
| CVE-2025-68121 | Golang 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-05 | 10.0 |
| CVE-2025-68119 | Golang Go: Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, … | 2026-01-28 | 7.0 |
| CVE-2025-61732 | Golang Go: A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary. | 2026-02-05 | 8.6 |
| CVE-2025-61731 | Golang 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-28 | 7.8 |
| CVE-2025-61730 | Golang 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-28 | 5.3 |
| CVE-2025-61729 | Golang 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-02 | 7.5 |
| CVE-2025-61728 | Golang 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-28 | 6.5 |
| CVE-2025-61727 | Golang 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-03 | 6.5 |
| CVE-2025-61726 | Golang 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-28 | 7.5 |
| CVE-2025-61724 | Golang Go: The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines. When the number of lines in a … | 2025-10-29 | 5.3 |
| CVE-2025-61723 | Golang 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-29 | 7.5 |
| CVE-2025-58189 | Golang Go: When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which … | 2025-10-29 | 5.3 |
| CVE-2025-58188 | Golang 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-29 | 7.5 |
| CVE-2025-58187 | Golang 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-29 | 7.5 |
| CVE-2025-58185 | Golang Go: Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion. | 2025-10-29 | 5.3 |
| CVE-2025-58181 | Golang 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-19 | 5.3 |
| CVE-2025-47914 | Golang 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-19 | 5.3 |
| CVE-2025-47912 | Golang 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-29 | 5.3 |
| CVE-2025-47907 | Golang 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-07 | 7.0 |
| CVE-2025-47906 | Golang Go: If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", … | 2025-09-18 | 6.5 |
| CVE-2025-22873 | Golang 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-04 | 3.8 |
| CVE-2025-4674 | Golang Go: The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration … | 2025-07-29 | 8.6 |
| CVE-2025-0913 | Golang 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-11 | 5.5 |
| CVE-2024-24790 | Golang 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-05 | 9.8 |
| CVE-2024-24789 | Golang 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-05 | 5.5 |
| CVE-2024-3566 | Golang Go: A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess … | 2024-04-10 | 9.8 |
| CVE-2023-45287 | Golang 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-05 | 7.5 |
| CVE-2023-45285 | Golang 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-06 | 7.5 |
| CVE-2023-45284 | Golang 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-09 | 5.3 |
| CVE-2023-45283 | Golang 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-09 | 7.5 |
| CVE-2023-39326 | Golang 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-06 | 5.3 |
| CVE-2023-39325 | Golang Go: A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the … | 2023-10-11 | 7.5 |
| CVE-2023-39323 | Golang 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-05 | 8.1 |
| CVE-2023-39322 | Golang 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-08 | 7.5 |
| CVE-2023-39321 | Golang Go: Processing an incomplete post-handshake message for a QUIC connection can cause a panic. | 2023-09-08 | 7.5 |
| CVE-2023-39320 | Golang 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-08 | 9.8 |
| CVE-2023-39319 | Golang Go: The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in … | 2023-09-08 | 6.1 |
| CVE-2023-39318 | Golang Go: The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may … | 2023-09-08 | 6.1 |
| CVE-2023-29409 | Golang 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-02 | 5.3 |
| CVE-2023-29408 | Golang 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-02 | 6.5 |
| CVE-2023-29407 | Golang 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-02 | 6.5 |
| CVE-2023-29406 | Golang 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-11 | 6.5 |
| CVE-2023-29405 | Golang 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-08 | 9.8 |
| CVE-2023-29404 | Golang 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-08 | 9.8 |
| CVE-2023-29403 | Golang 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-08 | 7.8 |
| CVE-2023-29402 | Golang 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-08 | 9.8 |
| CVE-2023-29400 | Golang Go: Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input can result in output with unexpected results … | 2023-05-11 | 7.3 |
| CVE-2023-24540 | Golang Go: Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character … | 2023-05-11 | 9.8 |
| CVE-2023-24539 | Golang Go: Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a … | 2023-05-11 | 7.3 |
| CVE-2023-24538 | Golang Go: Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since … | 2023-04-06 | 9.8 |
| CVE-2023-24537 | Golang 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-06 | 7.5 |
| CVE-2023-24536 | Golang 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-06 | 7.5 |
| CVE-2023-24534 | Golang 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-06 | 7.5 |
| CVE-2023-24532 | Golang 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-08 | 5.3 |
| CVE-2023-3978 | Golang 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-02 | 6.1 |
| CVE-2022-41727 | Golang 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-28 | 5.5 |
| CVE-2022-41725 | Golang Go: A denial of service is possible from excessive resource consumption in net/http and mime/multipart. Multipart form parsing with … | 2023-02-28 | 7.5 |
| CVE-2022-41724 | Golang 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-28 | 7.5 |
| CVE-2022-41723 | Golang 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-28 | 7.5 |
| CVE-2022-41722 | Golang 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-28 | 7.5 |
| CVE-2022-41721 | Golang 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-13 | 7.5 |
| CVE-2022-41720 | Golang 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-07 | 7.5 |
| CVE-2022-41717 | Golang 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-08 | 5.3 |
| CVE-2022-41716 | Golang 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-02 | 7.5 |
| CVE-2022-41715 | Golang Go: Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp … | 2022-10-14 | 7.5 |
| CVE-2022-32190 | Golang 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-13 | 7.5 |
| CVE-2022-32189 | Golang 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-10 | 7.5 |
| CVE-2022-32149 | Golang 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-14 | 7.5 |
| CVE-2022-32148 | Golang 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-10 | 6.5 |
| CVE-2022-30635 | Golang 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-10 | 7.5 |
| CVE-2022-30634 | Golang 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-15 | 7.5 |
| CVE-2022-30633 | Golang 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-10 | 7.5 |
| CVE-2022-30632 | Golang 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-10 | 7.5 |
| CVE-2022-30631 | Golang 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-10 | 7.5 |
| CVE-2022-30630 | Golang 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-10 | 7.5 |
| CVE-2022-30629 | Golang 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-10 | 3.1 |
| CVE-2022-30580 | Golang 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-10 | 7.8 |
| CVE-2022-29804 | Golang 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-10 | 7.5 |
| CVE-2022-29526 | Golang 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-23 | 5.3 |
| CVE-2022-28327 | Golang 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-20 | 7.5 |
| CVE-2022-28131 | Golang 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-10 | 7.5 |
| CVE-2022-27664 | Golang 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-06 | 7.5 |
| CVE-2022-27536 | Golang 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-20 | 7.5 |
| CVE-2022-27191 | Golang 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-18 | 7.5 |
| CVE-2022-24921 | Golang 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-05 | 7.5 |
| CVE-2022-24675 | Golang 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-20 | 7.5 |
| CVE-2022-23806 | Golang 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-11 | 9.1 |
| CVE-2022-23773 | Golang 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-11 | 7.5 |
| CVE-2022-23772 | Golang 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-11 | 7.5 |
| CVE-2022-2880 | Golang Go: Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparsable parameters rejected by net/http. … | 2022-10-14 | 7.5 |
| CVE-2022-2879 | Golang 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-14 | 7.5 |
| CVE-2022-1962 | Golang 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-10 | 5.5 |
| CVE-2022-1705 | Golang 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-10 | 6.5 |
| CVE-2021-44717 | Golang 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-01 | 4.8 |
| CVE-2021-44716 | Golang 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-01 | 7.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.