go standard library vulnerabilities, newest first
Filter
By year: all 2026 2025 2024 2023 2022 2021
- 5.9CVE-2026-97054EPSS 0.5%
For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with another header being set explicitly in the server handler. As a result, an HTTP/1 s…
- 6.8CVE-2026-111943EPSS 0.5%
On most platforms, Go uses the given system root certificates. However, in some narrower cases, the system trust stores may not be updated without further action. To defend against the narrower set of cases that may remain affected, a deny…
- 7.5CVE-2026-97032EPSS 0.7%
HTTP/2 servers could end up crashing due to inadvertently modifying its HPACK encoder concurrently. This happens because the server modifies the HPACK encoder from two goroutines without synchronization: one uses the encoder to encode a HE…
- 7.5CVE-2026-97031EPSS 0.7%
Multiple ECH outer extension references are not permitted under RFC 9849; previously, a client could send a well-crafted packet that could trigger memory exhaustion in the server process by specifying multiple references. We now reject the…
- 6.1CVE-2026-97030EPSS 0.3%
A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword uses are not escaped.
- 6.1CVE-2026-94448EPSS 0.3%
When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression. We now ensure that template-literal expression entries correctly reset context variables…
- 7.5CVE-2026-94440EPSS 0.7%
Parsing a multipart form can bypass memory limits and read an arbitrarily long line into memory when the remaining limit at the start of a part is less than 400 bytes.
- 7.5CVE-2026-94439EPSS 0.6%
When an HTTP server handler sends a 2xx response to an HTTP/1 CONNECT request and returns without hijacking the connection, the server improperly continues to read and serve requests from the connection. Since a 2xx response to an HTTP/1 C…
- 7.5CVE-2026-78669EPSS 0.8%
A malicious HTTP/2 peer can cause excessive CPU consumption in the client or server by opening a large number of streams and then sending many small SETTINGS frames containing SETTINGS_INITIAL_WINDOW_SIZE values.
- 7.5CVE-2026-78667EPSS 0.7%
When parsing a Range header containing a large number of small ranges, FileServer(FS), ServeContent, and ServeFile(FS) can consume an excessive amount of CPU.
- 9.1CVE-2026-78663EPSS 0.8%
The HTTP/2 server can refund connection-level flow control twice for the same data: Once when a client resets a stream (refunding data for any sent-but-unread portion of the stream), and again when a request handler reads the buffered data…
- 7.5CVE-2026-78660EPSS 0.5%
Historically, we have been rather lax about malformed framing-related headers in our HTTP/2 implementation, as they cannot interfere with HTTP/2 framing. However, this makes it possible for our HTTP/2 implementation to forward responses co…
- 7.5CVE-2026-78659EPSS 0.9%
When "Trailer" headers are sent by a client, the HTTP server internally uses the header values to populate the Request.Trailer map passed to the server handler. Because Request.Trailer is a map, each entry incurs memory overhead. For HTTP/…
- 7.5CVE-2026-56866EPSS 0.6%
When http.Transport sends an HTTP/1 CONNECT request with a non-empty Request.Body, it writes the body directly to the connection without framing after the request headers. If the server rejects the CONNECT request with a non-2xx keep-alive…
- 9.8CVE-2026-56857EPSS 0.6%
On Windows, when the target of Root.Mkdir or Root.MkdirAll is a junction pointing to an empty location, the operation can create a directory at the junction target even when that target is located outside the root. This only applies to ope…
- 7.5CVE-2026-56862EPSS 0.6%
Handshake messages, such as KeyUpdate, are always considered as state-advancing, regardless of whether a handshake has been completed or not. As a result, a malicious client can keep sending KeyUpdate messages to force the server to keep p…
- 5.9CVE-2026-56860EPSS 0.5%
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolutio…
- 7.5CVE-2026-56859EPSS 0.6%
Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.
- 6.1CVE-2026-56858EPSS 0.3%
Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.
- 7.5CVE-2026-56853EPSS 0.6%
When a server is configured to support unencrypted HTTP/2, it reads a few bytes from each new connection to see if they contain the HTTP/2 client preface. ReadHeaderTimeout is unexpectedly not being applied when doing this.
- 7.5CVE-2026-33818EPSS 0.6%
Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.
- 7.5CVE-2026-46600EPSS 0.5%
Parsing an invalid SVCB or HTTPS RR can panic when the size of a parameter value overflows the message buffer.
- 5.3CVE-2026-42505EPSS 0.4%
Handshakes which used Encrypted Client Hello could be de-anonymized by a passive network observer due to a disclosure of pre-shared key identities in the unencrypted client hello.
- 7.8CVE-2026-39822EPSS 0.2%
On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open("symlink/")' will ope…
- 5.3CVE-2026-42507EPSS 0.4%
When returning errors, functions in the net/textproto package would include its input as part of the error. This might allow an attacker to inject misleading content to errors that are printed or logged.
- 7.5CVE-2026-42504EPSS 0.5%
Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.
- 6.5CVE-2026-27145EPSS 0.5%
(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname. With a large DNS SAN …
- 9.6CVE-2026-39821EPSS 1.8%
The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior ca…
- 7.5CVE-2026-42499EPSS 0.8%
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
- 7.5CVE-2026-39836EPSS 0.6%
The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).
- 6.1CVE-2026-39826EPSS 0.4%
If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.
- 5.3CVE-2026-39825EPSS 0.4%
ReverseProxy can forward queries containing parameters not visible to Rewrite functions. When used with a Rewrite function, or a Director function which parses query parameters, ReverseProxy sanitizes the forwarded request to remove query …
- 6.1CVE-2026-39823EPSS 0.3%
CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the esca…
- 7.5CVE-2026-39820EPSS 0.8%
Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.
- 7.5CVE-2026-33814EPSS 0.8%
When processing HTTP/2 SETTINGS frames, transport will enter an infinite loop of writing CONTINUATION frames if it receives a SETTINGS_MAX_FRAME_SIZE with a value of 0.
- 7.5CVE-2026-33811EPSS 0.9%
When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of C memory and a crash.
- 8.2CVE-2026-33810EPSS 0.3%
When verifying a certificate chain containing excluded DNS constraints, these constraints are not correctly applied to wildcard DNS SANs which use a different case than the constraint. This only affects validation of otherwise trusted cert…
- 6.1CVE-2026-32289EPSS 0.3%
Context was not properly tracked across template branches for JS template literals, leading to possibly incorrect escaping of content when branches were used. Additionally template actions within JS template literals did not properly track…
- 5.5CVE-2026-32288EPSS 0.3%
tar.Reader can allocate an unbounded amount of memory when reading a maliciously-crafted archive containing a large number of sparse regions encoded in the "old GNU sparse map" format.
- 7.5CVE-2026-32283EPSS 0.6%
If one side of the TLS connection sends multiple key update messages post-handshake in a single record, the connection can deadlock, causing uncontrolled consumption of resources. This can lead to a denial of service. This only affects TLS…
- 6.4CVE-2026-32282EPSS 0.3%
On Linux, if the target of Root.Chmod is replaced with a symlink while the chmod operation is in progress, Chmod can operate on the target of the symlink, even when the target lies outside the root. The Linux fchmodat syscall silently igno…
- 7.5CVE-2026-32281EPSS 0.4%
Validating certificate chains which use policies is unexpectedly inefficient when certificates in the chain contain a very large number of policy mappings, possibly causing denial of service. This only affects validation of otherwise trust…
- 7.5CVE-2026-32280EPSS 0.6%
During chain building, the amount of work that is done is not correctly limited when a large number of intermediate certificates are passed in VerifyOptions.Intermediates, which can lead to a denial of service. This affects both direct use…
- 6.1CVE-2026-27142EPSS 0.4%
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, htmlmetacontenturle…
- 2.5CVE-2026-27139EPSS 0.2%
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 m…
- 5.9CVE-2026-27138EPSS 0.4%
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 chain…
- 7.5CVE-2026-27137EPSS 0.7%
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 las…
- 7.5CVE-2026-25679EPSS 0.8%
url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.
- 10.0CVE-2025-68121EPSS 0.9%
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 h…
- 3.8CVE-2025-22873EPSS 0.2%
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…