golang vulnerabilities in 2026, newest first
Filter
By year: all 2026 2025 2024 2023 2022 2021
Includes CVEs the NVD has not named yet, filed by their publishers under: golang.org/x/crypto, golang.org/x/net, golang.org/x/image.
- 6.1CVE-2026-97045EPSS 0.3%
In childTextNodesAreLiteral, walking up the tree previously stopped at the nearest foreign ancestor once an HTML integration point was found. However, that integration point may itself be a descendant of an element that was foster-parented…
- 7.5CVE-2026-78661EPSS 0.5%
When coalescing adjacent text nodes in addText and fosterParent, appending to an existing TextNode's Data via string concatenation (n.Data += text) reallocated and copied the accumulated string on every token. Inputs containing many short …
- 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-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.
- 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-78662EPSS 0.4%
Previously, a channel registered in the mux's chanList is not usable until it is established. A malicious peer was able flood the channel's incomingRequests, deadlocking the entire connection. Now, we add an atomic established state, set w…
- 7.5CVE-2026-56855EPSS 0.5%
Previously, after a channel has been established, a malicious peer could send crafted messages that would deadlock the entire connection. Now, we handle all RFC 4254 channel messages; global requests are handled explicitly. Then, treat all…
- 7.5CVE-2026-56854EPSS 0.4%
The source-address critical option in the Permissions returned by an authentication callback was only enforced for the PublicKeyCallback and VerifiedPublicKeyCallback paths, extending the fix for CVE-2026-46595. Permissions returned by the…
- 7.5CVE-2026-46603EPSS 0.4%
VP8L decoding in golang.org/x/image/vp8l can allocate an excessive amount of memory when processing a crafted VP8L image containing many unused Huffman tree groups. This allows a remote attacker to cause a denial of service via memory exha…
- 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…
- 7.5CVE-2026-46604EPSS 0.6%
The TIFF decoder can panic when decoding an invalid image with an out-of-bounds strip offset.
- 7.5CVE-2026-46602EPSS 0.6%
The TIFF decoder does not set a limit on the size of tiles in tiled images, permitting a malicious or corrupt image containing a very large tile to cause unbounded memory consumption.
- 7.5CVE-2026-46601EPSS 0.6%
The webp decoder can panic when processing a VP8 chunk with dimensions that do not match the canvas size.
- 8.7CVE-2023-54365EPSS 0.6%
Traefik before 2.10.5 and 3.0.0-beta4 is affected by a denial-of-service vulnerability in HTTP/2 request handling inherited from the Go standard library's HTTP/2 implementation (CVE-2023-44487 / CVE-2023-39325, the 'Rapid Reset' technique)…
- 7.5CVE-2026-46599EPSS 0.4%
The TIFF decoder does not place a limit on the size of PackBits-compressed data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height and encoded size) to make the decoder decode large am…
- 5.3CVE-2026-42500EPSS 0.4%
Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.
- 6.1CVE-2026-42506EPSS 0.2%
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 applications that attempt to sanitize input HTML before rendering.
- 6.1CVE-2026-42502EPSS 0.2%
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 applications that attempt to sanitize input HTML before rendering.
- 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…
- 6.1CVE-2026-27136EPSS 0.3%
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 applications that attempt to sanitize input HTML before rendering.
- 6.1CVE-2026-25681EPSS 0.3%
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 applications that attempt to sanitize input HTML before rendering.
- 6.5CVE-2026-25680EPSS 0.3%
Parsing arbitrary HTML can consume excessive CPU time, possibly leading to denial of service.
- 5.3CVE-2026-46598EPSS 0.4%
For certain crafted inputs, a 'ed25519.PrivateKey' was created by casting malformed wire bytes, leading to a panic when used.
- 7.5CVE-2026-46597EPSS 0.5%
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
- 10.0CVE-2026-46595EPSS 0.6%
Previously, CVE-2024-45337 fixed an authorization bypass for misused ssh server configurations; if any other type of callback is passed other than public key, then the source-address validation would be skipped.
- 9.1CVE-2026-42508EPSS 6.9%
Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @revoked.
- 5.3CVE-2026-39835EPSS 0.5%
SSH servers which use CertChecker as a public key callback without setting IsUserAuthority or IsHostAuthority could be caused to panic by a client presenting a certificate. CertChecker now returns an error instead of panicking when these c…
- 9.1CVE-2026-39834EPSS 0.6%
When writing data larger than 4GB in a single Write call on an SSH channel, an integer overflow in the internal payload size calculation caused the write loop to spin indefinitely, sending empty packets without making progress. The size co…
- 9.1CVE-2026-39833EPSS 0.5%
The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never enforced it. The key would sign without any confirmation prompt, with no indication to the caller that the constraint was …
- 9.1CVE-2026-39832EPSS 0.7%
When adding a key to a remote agent constraint extensions such as restrict-destination-v00@openssh.com were not serialized in the request. Destination restrictions were silently stripped when forwarding keys, allowing unrestricted use of t…
- 9.1CVE-2026-39831EPSS 0.5%
The Verify() method for FIDO/U2F security key types (sk-ecdsa-sha2-nistp256@openssh.com, sk-ssh-ed25519@openssh.com) did not check the User Presence flag. Signatures generated without physical touch were accepted, allowing unattended use o…
- 9.1CVE-2026-39830EPSS 0.7%
A malicious SSH peer could send unsolicited global request responses to fill an internal buffer, blocking the connection's read loop. The blocked goroutine could not be released by calling Close(), resulting in a resource leak per connecti…
- 7.5CVE-2026-39829EPSS 0.5%
The RSA and DSA public key parsers did not enforce size limits on key parameters. A crafted public key with an excessively large modulus or DSA parameter could cause several minutes of CPU consumption during signature verification. This co…
- 6.3CVE-2026-39828EPSS 0.4%
When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially dropping certificate restrictions such as force-command after a second factor succeede…
- 6.5CVE-2026-39827EPSS 0.3%
An authenticated SSH client that repeatedly opened channels which were rejected by the server caused unbounded memory growth, eventually crashing the server process and affecting all connected users. Rejected channels are now properly remo…
- 7.5CVE-2026-42501EPSS 0.2%
A malicious module proxy can exploit a flaw in the go command's validation of module checksums to bypass checksum database validation. This vulnerability affects any user using an untrusted module proxy (GOMODPROXY) or checksum database (G…
- 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.
- 5.3CVE-2026-39819EPSS 0.2%
The "go bug" command writes to two files with predictable names in the system temporary directory (for example, "/tmp"). An attacker with access to the temporary directory can create a symlink in one of these names, causing "go bug" to ove…
- 5.9CVE-2026-39817EPSS 0.2%
The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary lo…
- 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.