VulnSea

golang has 34 CVEs on record between 2022 and 2026. Disclosures have slowed: 0 in the last 90 days after 13 in the 90 before. The busiest recent month was May 2026 with 11. The median CVSS is 7.5 (high), with 5 rated critical. None have a confirmed exploitation report. The dominant weakness classes are CWE-770 (8) and CWE-295 (5). Most affected products: go (26), crypto (5), github.com/golang/glog (1).

CVEs per month

Last 12 months, by publish date

111201020304050607080910
Exploited share
0% vs 1% corpus
Median CVSS
7.5
Publish → KEV
—
Last 90 days
0 prev 13

Products

  • go 26
  • crypto 5
  • github.com/golang/glog 1
  • gopls 1
  • net 1
34
Total CVEs
5
Critical
0
CISA KEV
0
Exploited

golang vulnerabilities

CVEs affecting golang, newest first. Open any entry for full detail, references, and exploit status.

34 CVEsRSS

CVE-2026-42505Medium· 5.3
3mo ago

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.

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.

▾ Sunlitgolang · goEPSS 0.38%via NVD
CVE-2026-39822High· 7.8
3mo ago

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 /

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 o…

▾ Twilightgolang · goEPSS 0.23%via NVD
CVE-2026-39821Critical· 9.6
5mo ago

The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label

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 …

▾ Midnightgolang · netEPSS 1.8%via NVD
CVE-2026-39832Critical· 9.1
5mo ago

When adding a key to a remote agent constraint extensions such as [email protected] were not serialized in the request

When adding a key to a remote agent constraint extensions such as [email protected] were not serialized in the request. Destination restrictions were silently stripped when forwarding keys, allowing unrestricted use of…

▾ Midnightgolang · cryptoEPSS 0.68%via NVD
CVE-2026-39835Medium· 5.3
5mo ago

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

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…

▾ Sunlitgolang · cryptoEPSS 0.50%via NVD
CVE-2026-39830Critical· 9.1
5mo ago

A malicious SSH peer could send unsolicited global request responses to fill an internal buffer, blocking the connection's read loop

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 connec…

▾ Midnightgolang · cryptoEPSS 0.68%via NVD
CVE-2026-39829High· 7.5
5mo ago

The RSA and DSA public key parsers did not enforce size limits on key parameters

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 …

▾ Twilightgolang · cryptoEPSS 0.47%via NVD
CVE-2026-42508Critical· 9.1
5mo ago

Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation

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.

▾ Midnightgolang · cryptoEPSS 6.9%via NVD
CVE-2026-33814High· 7.5
5mo ago

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.

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.

▾ Twilightgolang · goEPSS 0.84%via NVD
CVE-2026-42499High· 7.5
5mo ago

Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.

Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.

▾ Twilightgolang · goEPSS 0.80%via NVD
CVE-2026-39820High· 7.5
5mo ago

Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.

Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.

▾ Twilightgolang · goEPSS 0.78%via NVD
CVE-2026-33811High· 7.5
5mo ago

When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of C memory and a crash.

When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of C memory and a crash.

▾ Twilightgolang · goEPSS 0.88%via NVD
CVE-2026-42503High· 8.8
5mo ago

gopls by default communicates via pipe

gopls by default communicates via pipe. However, -port and -listen flags are supported as means of debugging. If -listen is given a value without an explicit host (e.g. :8080), or -port is used, gopls will listen on 0.0.0.0.  As a result…

▾ Twilightgolang · goplsEPSS 0.21%via NVD
CVE-2026-32288Medium· 5.5
6mo ago

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.

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.

▾ Sunlitgolang · goEPSS 0.29%via NVD
CVE-2026-27144High· 7.1
6mo ago

The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface conversion prevented the compiler from making the correct determination about non-overlapping moves, potentially leading to memory corrup…

The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface conversion prevented the compiler from making the correct determination about non-overlapping moves, potentially leading to memory corrup…

▾ Twilightgolang · goEPSS 0.26%via NVD
CVE-2026-27143Critical· 9.8
6mo ago

Arithmetic over induction variables in loops were not correctly checked for underflow or overflow

Arithmetic over induction variables in loops were not correctly checked for underflow or overflow. As a result, the compiler would allow for invalid indexing to occur at runtime, potentially leading to memory corruption.

▾ Midnightgolang · goEPSS 0.54%via NVD
CVE-2026-27140High· 8.8
6mo ago

SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code execution at build time due to trust layer bypass.

SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code execution at build time due to trust layer bypass.

▾ Twilightgolang · goEPSS 0.66%via NVD
CVE-2026-32283High· 7.5
6mo ago

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

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 T…

▾ Twilightgolang · goEPSS 0.62%via NVD
CVE-2026-32280High· 7.5
6mo ago

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

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 u…

▾ Twilightgolang · goEPSS 0.61%via NVD
CVE-2026-33810High· 8.2
6mo ago

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

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 ce…

▾ Twilightgolang · goEPSS 0.34%via NVD
CVE-2026-27137High· 7.5
7mo ago

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 l…

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 l…

▾ Twilightgolang · goEPSS 0.63%via NVD
CVE-2026-25679High· 7.5
7mo ago

url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.

url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.

▾ Twilightgolang · goEPSS 0.77%via NVD
CVE-2025-61732High· 8.6
8mo ago

A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.

A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.

▾ Twilightgolang · goEPSS 0.54%via NVD
CVE-2025-61731High· 7.8
9mo ago

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

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…

▾ Twilightgolang · goEPSS 0.61%via NVD
CVE-2025-61726High· 7.5
9mo ago

The net/url package does not set a limit on the number of query parameters in a query

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 …

▾ Twilightgolang · goEPSS 2.3%via NVD
CVE-2025-61724Medium· 5.3
12mo ago

The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines

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.

▾ Sunlitgolang · goEPSS 0.56%via NVD
CVE-2025-61723High· 7.5
12mo ago

The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input

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.

▾ Twilightgolang · goEPSS 0.66%via NVD
CVE-2025-58189Medium· 5.3
12mo ago

When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.

When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.

▾ Sunlitgolang · goEPSS 0.47%via NVD
CVE-2025-58187High· 7.5
12mo ago

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

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.

▾ Twilightgolang · goEPSS 0.41%via NVD
CVE-2025-58185Medium· 5.3
12mo ago

Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.

Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.

▾ Sunlitgolang · goEPSS 0.56%via NVD
golang vulnerabilities (CVEs) · VulnSea