VendorsGolanggoany version
Vulnerabilities

Golang Go any version

Ranked by severity, then by exploit likelihood. Click a CVE ID for its full record.

166CVEs
CVE-2025-68121
Unexpected session resumption in crypto/tls
Published 2026-02-05 · Modified
10.0EPSS 0.009
CVE-2021-38297
Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when GOARCH=wasm GOOS=js is used.
Published 2021-10-18 · Modified
9.8EPSS 0.109
CVE-2015-5739
The net/http library in net/textproto/reader.go in Go before 1.4.3 does not properly parse HTTP header keys, which allows remote attackers to conduct HTTP request smuggling attacks via a space instead of a hyphen, as demonstrated by "Content Length" instead of "Content-Length."
Published 2017-10-18 · Modified
9.8EPSS 0.096
CVE-2017-15041
Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution. Using custom domains, it is possible to arrange things so that example.com/pkg1 points to a Subversion repository but example.com/pkg1/pkg2 points to a Git repository. If the Subversion repository includes a Git checkout in its pkg2 directory and some other work is done to ensure the proper ordering of operations, "go get" can be tricked into reusing this Git checkout for the fetch of code from pkg2. If the Subversion repository's Git checkout has malicious commands in .git/hooks/, they will execute on the system running "go get."
Published 2017-10-05 · Modified
9.8EPSS 0.089
CVE-2019-14809
net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some applications. This is related to a Host field with a suffix appearing in neither Hostname() nor Port(), and is related to a non-numeric port number. For example, an attacker can compose a crafted javascript:// URL that results in a hostname of google.com.
Published 2019-08-13 · Modified
9.8EPSS 0.084
CVE-2015-5740
The net/http library in net/http/transfer.go in Go before 1.4.3 does not properly parse HTTP headers, which allows remote attackers to conduct HTTP request smuggling attacks via a request with two Content-length headers.
Published 2017-10-18 · Modified
9.8EPSS 0.037
CVE-2015-5741
The net/http library in net/http/transfer.go in Go before 1.4.3 does not properly parse HTTP headers, which allows remote attackers to conduct HTTP request smuggling attacks via a request that contains Content-Length and Transfer-Encoding header fields.
Published 2020-02-08 · Modified
9.8EPSS 0.027
CVE-2019-11888
Go through 1.12.5 on Windows mishandles process creation with a nil environment in conjunction with a non-nil token, which allows attackers to obtain sensitive information or gain privileges.
Published 2019-05-13 · Modified
9.8EPSS 0.027
CVE-2023-24538
Backticks not treated as string delimiters in html/template
Published 2023-04-06 · Modified
9.8EPSS 0.023
CVE-2020-29509
The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.
Published 2020-12-14 · Modified
9.8EPSS 0.021
CVE-2020-29510
The encoding/xml package in Go versions 1.15 and earlier does not correctly preserve the semantics of directives during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.
Published 2020-12-14 · Modified
9.8EPSS 0.021
CVE-2020-29511
The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.
Published 2020-12-14 · Modified
9.8EPSS 0.020
CVE-2024-24790
Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
Published 2024-06-05 · Modified
9.8EPSS 0.020
CVE-2023-29404
Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go
Published 2023-06-08 · Modified
9.8EPSS 0.018
CVE-2023-39320
Arbitrary code execution via go.mod toolchain directive in cmd/go
Published 2023-09-08 · Modified
9.8EPSS 0.018
CVE-2023-29405
Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go
Published 2023-06-08 · Modified
9.8EPSS 0.017
CVE-2023-29402
Code injection via go command with cgo in cmd/go
Published 2023-06-08 · Modified
9.8EPSS 0.017
CVE-2023-24540
Improper handling of JavaScript whitespace in html/template
Published 2023-05-11 · Modified
9.8EPSS 0.016
CVE-2026-27143
Missing bound checks can lead to memory corruption in safe Go in cmd/compile
Published 2026-04-08 · Analyzed
9.8EPSS 0.007
CVE-2025-66630
Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure
Published 2026-02-09 · Analyzed
9.4EPSS 0.005
CVE-2018-7187
The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site.
Published 2018-02-16 · Modified
9.3EPSS 0.630
CVE-2022-23806
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 that is not a valid field element.
Published 2022-02-11 · Modified
9.1EPSS 0.031
CVE-2026-27140
Code execution vulnerability in SWIG code generation in cmd/go
Published 2026-04-08 · Modified
9.0EPSS 0.008
CVE-2021-23772
Arbitrary File Write
Published 2021-12-24 · Modified
8.8EPSS 0.018
CVE-2026-33810
Case-sensitive excludedSubtrees name constraints cause Auth Bypass in crypto/x509
Published 2026-04-08 · Modified
8.8EPSS 0.003
CVE-2023-54365
Traefik - Denial of Service via HTTP/2 Request Handling
Published 2026-06-23 · Analyzed
8.7EPSS 0.008
CVE-2025-61731
Arbitrary file write using cgo pkg-config directive in cmd/go
Published 2026-01-28 · Modified
8.6EPSS 0.006
CVE-2025-61732
Potential code smuggling via doc comments in cmd/cgo
Published 2026-02-05 · Modified
8.6EPSS 0.005
CVE-2025-4674
Unexpected command execution in untrusted VCS repositories in cmd/go
Published 2025-07-29 · Analyzed
8.6EPSS 0.003
CVE-2019-6486
Go before 1.10.8 and 1.11.x before 1.11.5 mishandles P-521 and P-384 elliptic curves, which allows attackers to cause a denial of service (CPU consumption) or possibly conduct ECDH private key recovery attacks.
Published 2019-01-24 · Modified
8.2EPSS 0.043
CVE-2020-0601
A spoofing vulnerability exists in the way Windows CryptoAPI (Crypt32.dll) validates Elliptic Curve Cryptography (ECC) certificates.An attacker could exploit the vulnerability by using a spoofed code-signing certificate to sign a malicious executable, making it appear the file was from a trusted, legitimate source, aka 'Windows CryptoAPI Spoofing Vulnerability'.
Published 2020-01-14 · Analyzed
8.1KEV1 PoCEPSS 0.894
CVE-2018-16873
In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and the import path of a malicious Go package, or a package that imports it directly or indirectly. Specifically, it is only vulnerable in GOPATH mode, but not in module mode (the distinction is documented at https://golang.org/cmd/go/#hdr-Module_aware_go_get). Using custom domains, it's possible to arrange things so that a Git repository is cloned to a folder named ".git" by using a vanity import path that ends with "/.git". If the Git repository root contains a "HEAD" file, a "config" file, an "objects" directory, a "refs" directory, with some work to ensure the proper ordering of operations, "go get -u" can be tricked into considering the parent directory as a repository root, and running Git commands on it. That will use the "config" file in the original Git repository root for its configuration, and if that config file contains malicious commands, they will execute on the system running "go get -u".
Published 2018-12-14 · Modified
8.1EPSS 0.663
CVE-2016-5386
The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect a CGI application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue.
Published 2016-07-19 · Modified
8.1EPSS 0.052
CVE-2018-16874
In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to directory traversal when executed with the import path of a malicious Go package which contains curly braces (both '{' and '}' characters). Specifically, it is only vulnerable in GOPATH mode, but not in module mode (the distinction is documented at https://golang.org/cmd/go/#hdr-Module_aware_go_get). The attacker can cause an arbitrary filesystem write, which can lead to code execution.
Published 2018-12-14 · Modified
8.1EPSS 0.050
CVE-2023-39323
Arbitrary code execution during build via line directives in cmd/go
Published 2023-10-05 · Modified
8.1EPSS 0.018
CVE-2018-6574
Go before 1.8.7, Go 1.9.x before 1.9.4, and Go 1.10 pre-releases before Go 1.10rc2 allow "go get" remote command execution during source code build, by leveraging the gcc or clang plugin feature, because -fplugin= and -plugin= arguments were not blocked.
Published 2018-02-07 · Modified
7.8EPSS 0.076
CVE-2018-16875
The crypto/x509 package of Go before 1.10.6 and 1.11.x before 1.11.3 does not limit the amount of work performed for each chain verification, which might allow attackers to craft pathological inputs leading to a CPU denial of service. Go TLS servers accepting client certificates and TLS clients are affected.
Published 2018-12-14 · Modified
7.8EPSS 0.064
CVE-2019-9634
Go through 1.12 on Windows misuses certain LoadLibrary functionality, leading to DLL injection.
Published 2019-03-08 · Modified
7.8EPSS 0.031
CVE-2022-23772
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.
Published 2022-02-11 · Modified
7.8EPSS 0.028
CVE-2020-7919
Go before 1.12.16 and 1.13.x before 1.13.7 (and the crypto/cryptobyte package before 0.0.0-20200124225646-8b5121be2f68 for Go) allows attacks on clients (resulting in a panic) via a malformed X.509 certificate.
Published 2020-03-16 · Modified
7.8EPSS 0.026
1 / 5Next →