VulnSea

golang has 26 CVEs on record between 2025 and 2026. Disclosures have slowed: 2 in the last 90 days after 18 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 (5) and CWE-295 (4). Most affected products: go (18), crypto (5), github.com/golang/glog (1).

CVEs per month

Last 12 months, by publish date

101112010203040506070809
Exploited share
0% vs 1% corpus
Median CVSS
7.5
Publish → KEV
Last 90 days
2 prev 18

Products

  • go 18
  • crypto 5
  • github.com/golang/glog 1
  • gopls 1
  • net 1
26
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.

26 CVEsRSS

CVE-2026-42505Medium· 5.3
2mo 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
2mo 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
4mo 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 0.69%via NVD
CVE-2026-39832Critical· 9.1
4mo 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.60%via NVD
CVE-2026-39835Medium· 5.3
4mo 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
4mo 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.62%via NVD
CVE-2026-39829High· 7.5
4mo 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
4mo 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 7.3%via NVD
CVE-2026-33814High· 7.5
4mo 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.78%via NVD
CVE-2026-42499High· 7.5
4mo 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
4mo 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
4mo 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.81%via NVD
CVE-2026-42503High· 8.8
4mo 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
5mo 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
5mo 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
5mo 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
5mo 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
5mo 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
5mo 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
5mo 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
6mo 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.61%via NVD
CVE-2026-25679High· 7.5
6mo 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.73%via NVD
CVE-2025-61732High· 8.6
7mo 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.48%via NVD
CVE-2025-61731High· 7.8
7mo 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.56%via NVD
CVE-2025-61726High· 7.5
7mo 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.2%via NVD
CVE-2024-45339High· 7.1
1y ago

Insecure Temporary File usage in github.com/golang/glog

Insecure Temporary File usage in github.com/golang/glog

Twilightgolang · github.com/golang/glogEPSS 0.32%via OSV
golang vulnerabilities (CVEs) · VulnSea