VulnarioBlogGo vulnerabilities
Go Vulnerabilities: The 10 Most Critical Go Security Bugs (CVEs)
Go vulnerabilities are security flaws in Go that attackers can abuse to steal data, take over a server or interrupt a service. Go (Golang) is Google's compiled programming language used for cloud and network software. The National Vulnerability Database (NVD) lists 171 CVEs for Go, 18 of them rated critical, and 39 were published in the last 12 months. CISA lists 2 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.
This guide lists the 10 most critical Go security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Go security basics, the current end-of-life dates and a free way to be told about the next Go CVE as soon as it is published.
Key takeaways
- 2 CVEs are in CISA's KEV catalog, so attackers have exploited them in the wild.
- 18 Go CVEs are rated critical (CVSS v3), and 39 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2026-27143, published Apr 8, 2026.
- Supported Go releases today (per endoflife.date): 1.27, 1.26. Releases not on the list are past their announced end of life.
- You can monitor Go for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Go CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical Go CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2020-0601 | 8.1 High | 2020-01-14 | Microsoft Windows CryptoAPI Spoofing | Yes |
| 2 | CVE-2023-44487 | 7.5 High | 2023-10-10 | HTTP/2 Rapid Reset Attack | Yes |
| 3 | CVE-2025-68121 | 10.0 Critical | 2026-02-05 | Improper certificate validation | No |
| 4 | CVE-2026-27143 | 9.8 Critical | 2026-04-08 | Memory corruption | No |
| 5 | CVE-2024-24790 | 9.8 Critical | 2024-06-05 | Critical security flaw | No |
| 6 | CVE-2023-39320 | 9.8 Critical | 2023-09-08 | Code injection | No |
| 7 | CVE-2023-29402 | 9.8 Critical | 2023-06-08 | Code injection | No |
| 8 | CVE-2023-29404 | 9.8 Critical | 2023-06-08 | Code injection | No |
| 9 | CVE-2023-29405 | 9.8 Critical | 2023-06-08 | Injection | No |
| 10 | CVE-2023-24540 | 9.8 Critical | 2023-05-11 | Command injection | No |
Each Go CVE explained
1. CVE-2020-0601: Microsoft Windows CryptoAPI Spoofing
- What NVD says
- A spoofing vulnerability exists in the way Windows CryptoAPI (Crypt32.dll) validates Elliptic Curve Cryptography (ECC) certificates.An attacker could exploit the vulnerability by using a spoofed code-signing certificate to sign a malicious executable, making it appear the file was from a trusted, legitimate source, aka 'Windows CryptoAPI Spoofing Vulnerability'.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- 1.12 to before 1.12.16; 1.13 to before 1.13.7
- What to do
- Upgrade to the fixed release for your branch (1.12.16, 1.13.7) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2023-44487: HTTP/2 Rapid Reset Attack
- What NVD says
- The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- before 1.20.10; 1.21.0 to before 1.21.3
- What to do
- Upgrade to the fixed release for your branch (1.20.10, 1.21.3) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2025-68121: Improper certificate validation
- What NVD says
- 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 mutates the returned Config, or uses Config.GetConfigForClient.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.24.13; 1.25.0 to before 1.25.7; 1.26.0
- What to do
- Upgrade to the fixed release for your branch (1.24.13, 1.25.7) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2026-27143: Memory corruption
- What NVD says
- 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.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.25.9; 1.26.0 to before 1.26.2
- What to do
- Upgrade to the fixed release for your branch (1.25.9, 1.26.2) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2024-24790: Critical security flaw
- What NVD says
- The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their traditional IPv4 forms.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.21.11; 1.22.0 to before 1.22.4
- What to do
- Upgrade to the fixed release for your branch (1.21.11, 1.22.4) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
6. CVE-2023-39320: Code injection
- What NVD says
- The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules downloaded using the "go" command from the module proxy, as well as modules downloaded directly using VCS software.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.21.0 to before 1.21.1
- What to do
- Upgrade to 1.21.1 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
7. CVE-2023-29402: Code injection
- What NVD says
- The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.19.10; 1.20.0 to before 1.20.5
- What to do
- Upgrade to the fixed release for your branch (1.19.10, 1.20.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
8. CVE-2023-29404: Code injection
- What NVD says
- The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.19.10; 1.20.0 to before 1.20.5
- What to do
- Upgrade to the fixed release for your branch (1.19.10, 1.20.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
9. CVE-2023-29405: Injection
- What NVD says
- The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.19.10; 1.20.0 to before 1.20.5
- What to do
- Upgrade to the fixed release for your branch (1.19.10, 1.20.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
10. CVE-2023-24540: Command injection
- What NVD says
- Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.19.9; 1.20.0 to before 1.20.4
- What to do
- Upgrade to the fixed release for your branch (1.19.9, 1.20.4) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
Go end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid Go vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Go releases are 1.27, 1.26.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Go 1.27 | Aug 19, 2026 | Not announced | 1.27.3 | Supported |
| Go 1.26 | Feb 10, 2026 | Not announced | 1.26.10 | Supported |
| Go 1.25 | Aug 12, 2025 | Aug 19, 2026 | 1.25.14 | End of life |
| Go 1.24 | Feb 11, 2025 | Feb 10, 2026 | 1.24.13 | End of life |
| Go 1.23 | Aug 13, 2024 | Aug 12, 2025 | 1.23.12 | End of life |
| Go 1.22 | Feb 6, 2024 | Feb 11, 2025 | 1.22.12 | End of life |
| Go 1.21 | Aug 8, 2023 | Aug 13, 2024 | 1.21.13 | End of life |
| Go 1.20 | Feb 1, 2023 | Feb 6, 2024 | 1.20.14 | End of life |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
How to check if your Go is vulnerable
Find the exact version first, then compare it with the affected and fixed versions in each CVE above.
go version
On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.
Go security checklist
- Run a supported release and move to the next branch before the current one reaches end of life.
- Apply patch releases promptly.
- Pin and audit your dependencies, and update the vulnerable ones.
- Run applications as an unprivileged user.
- Disable features and functions your application does not need.
Your stack is bigger than Go. A flaw anywhere in the chain can be the way in, so also review our guides to Docker vulnerabilities, Kubernetes vulnerabilities and Caddy vulnerabilities.
How to get alerted about new Go vulnerabilities
NVD received 39 new Go CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Go and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run Go alone. These guides cover the technologies it is most often deployed with.
- Docker vulnerabilities: Docker is the standard tool for building and running containers.
- Kubernetes vulnerabilities: Kubernetes is the standard platform for orchestrating containers.
- Caddy vulnerabilities: Caddy is a web server written in Go that obtains and renews HTTPS certificates automatically.
- Java vulnerabilities: Java is the language and runtime behind a large share of enterprise software.
- Log4j vulnerabilities: Apache Log4j is the Java logging library at the center of the Log4Shell crisis.
- .NET vulnerabilities: .NET (including ASP.NET Core) is Microsoft's application development platform.
Frequently asked questions about Go vulnerabilities
What are the most critical Go vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Go CVEs include CVE-2020-0601 (CVSS 8.1), CVE-2023-44487 (CVSS 7.5), CVE-2025-68121 (CVSS 10.0). The guide above ranks the 10 most critical with affected versions and fixes.
Have Go vulnerabilities been exploited in real attacks?
Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 2 Go CVEs, including CVE-2020-0601, CVE-2023-44487. Treat these as the highest priority to patch.
How many vulnerabilities does Go have?
As of Nov 3, 2026 the National Vulnerability Database lists 171 CVEs for Go, with 18 rated critical by CVSS v3. 39 were published in the previous twelve months.
Which Go versions are still supported?
As of Nov 3, 2026, endoflife.date lists these Go releases as supported: 1.27, 1.26. Releases that are not listed are past their announced end of life.
How do I check which Go version I run?
Run go version on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.
How can I get alerted when a new Go CVE is published?
Add Go to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Go and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is Go secure?
Go is as secure as its patch level. NVD published 39 new Go CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2020-0601?
CVE-2020-0601 is a high Go vulnerability with a CVSS score of 8.1, published Jan 14, 2020. A spoofing vulnerability exists in the way Windows CryptoAPI (Crypt32.dll) validates Elliptic Curve Cryptography (ECC) certificates.An attacker could exploit the vulnerability by using a spoofed code-signing certificate to sign a malicious executable, making it appear the file was from a trusted,…
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Go (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.