Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escap...
Vendor
golang vulnerabilities
229 published CVES affecting golang, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 229
- Critical
- 21
- High
- 134
- Medium
- 71
- Low
- 3
- Unscored
- 0
- CISA KEV
- 2
Products
- go 172
- crypto 22
- net 11
- http2 6
- image 6
- text 4
- ssh 3
- tiff 3
- networking 2
- archiver 1
- github.com/golang/glog 1
- github.com/golang/vscode-go 1
- gopls 1
- h2c 1
- hpack 1
- package ssh 1
- protobuf 1
Latest golang CVEs
Newest publication first · page 3 of 10
-
MediumCVSS 6.1 EPSS 0.42%
-
LowCVSS 2.5 EPSS 0.14%
On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary...
-
CVE-2026-27138 Panic in name constraint checking for malformed certificates in crypto/x509
PublishedMediumCVSS 5.9 EPSS 0.38%Certificate verification can panic when a certificate in the chain has an empty DNS name and another certificate in the chain has excluded name constraints. This can crash programs that are either directly verifying X.509 certificate chains, or those that use TLS.
-
HighCVSS 7.5 EPSS 0.82%
url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.
-
HighCVSS 7.5 EPSS 0.79%
When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applied, and only the last constraint will be considered.
-
CriticalCVSS 10.0 EPSS 0.90%
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...
-
HighCVSS 7.4 EPSS 0.67%
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
-
LowCVSS 3.8 EPSS 0.21%
It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or f...
-
MediumCVSS 6.5 EPSS 0.74%
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.
-
HighCVSS 7.5 EPSS 2.3%
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 la...
-
HighCVSS 7.0 EPSS 0.29%
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...
-
HighCVSS 8.6 EPSS 0.49%
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...
-
CVE-2025-61730 Handshake messages may be processed at the incorrect encryption level in crypto/tls
PublishedMediumCVSS 5.3 EPSS 0.35%During the TLS 1.3 handshake if multiple messages are sent in records that span encryption level boundaries (for instance the Client Hello and Encrypted Extensions messages), the subsequent messages may be processed before the encryption level changes. This can cause some minor i...
-
MediumCVSS 5.4 EPSS 0.67%
To prevent unexpected untrusted code execution, the Visual Studio Code Go extension is now disabled in Restricted Mode.
-
MediumCVSS 6.5 EPSS 0.29%
An excluded subdomain constraint in a certificate chain does not restrict the usage of wildcard SANs in the leaf certificate. For example a constraint that excludes the subdomain test.example.com does not prevent a leaf certificate from claiming the SAN *.example.com.
-
HighCVSS 7.5 EPSS 0.49%
Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a...
-
CVE-2025-47914 Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent
PublishedMediumCVSS 5.3 EPSS 0.68%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 is malformed due to an out of bounds read.
-
MediumCVSS 5.3 EPSS 0.77%
SSH servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause unbounded memory consumption.
-
MediumCVSS 5.3 EPSS 0.69%
The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines. When the number of lines in a response is large, this can cause excessive CPU consumption.
-
HighCVSS 7.5 EPSS 0.47%
Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that assumes they implement the Equal method. This affects programs which validate arbitrary certificate chains.
-
MediumCVSS 5.3 EPSS 0.68%
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
-
MediumCVSS 5.3 EPSS 0.55%
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 IPv6 addresses to be included within the host component, enclosed within square brackets. For example: "http://[::1]/". IPv4 addresse...
-
HighCVSS 7.5 EPSS 0.83%
The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input. This affects programs which parse untrusted PEM inputs.
-
CVE-2025-58189 ALPN negotiation error contains attacker controlled information in crypto/tls
PublishedMediumCVSS 5.3 EPSS 0.55%When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.
-
HighCVSS 7.5 EPSS 0.50%
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 certificate. This affects programs which validate arbitrary certificate chains.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.