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

Most critical Go vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2020-06018.1 High2020-01-14Microsoft Windows CryptoAPI SpoofingYes
2CVE-2023-444877.5 High2023-10-10HTTP/2 Rapid Reset AttackYes
3CVE-2025-6812110.0 Critical2026-02-05Improper certificate validationNo
4CVE-2026-271439.8 Critical2026-04-08Memory corruptionNo
5CVE-2024-247909.8 Critical2024-06-05Critical security flawNo
6CVE-2023-393209.8 Critical2023-09-08Code injectionNo
7CVE-2023-294029.8 Critical2023-06-08Code injectionNo
8CVE-2023-294049.8 Critical2023-06-08Code injectionNo
9CVE-2023-294059.8 Critical2023-06-08InjectionNo
10CVE-2023-245409.8 Critical2023-05-11Command injectionNo

Each Go CVE explained

1. CVE-2020-0601: Microsoft Windows CryptoAPI Spoofing

  • CVSS 8.1 High
  • In CISA KEV (added 2021-11-03)
  • Published 2020-01-14
  • CWE-295
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)

NVD record for CVE-2020-0601 (opens in a new tab)

2. CVE-2023-44487: HTTP/2 Rapid Reset Attack

  • CVSS 7.5 High
  • In CISA KEV (added 2023-10-10)
  • Published 2023-10-10
  • CWE-400
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)

NVD record for CVE-2023-44487 (opens in a new tab)

3. CVE-2025-68121: Improper certificate validation

  • CVSS 10.0 Critical
  • Published 2026-02-05
  • CWE-295
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)

NVD record for CVE-2025-68121 (opens in a new tab)

4. CVE-2026-27143: Memory corruption

  • CVSS 9.8 Critical
  • Published 2026-04-08
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)

NVD record for CVE-2026-27143 (opens in a new tab)

5. CVE-2024-24790: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2024-06-05
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)

NVD record for CVE-2024-24790 (opens in a new tab)

6. CVE-2023-39320: Code injection

  • CVSS 9.8 Critical
  • Published 2023-09-08
  • CWE-94
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)

NVD record for CVE-2023-39320 (opens in a new tab)

7. CVE-2023-29402: Code injection

  • CVSS 9.8 Critical
  • Published 2023-06-08
  • CWE-94
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)

NVD record for CVE-2023-29402 (opens in a new tab)

8. CVE-2023-29404: Code injection

  • CVSS 9.8 Critical
  • Published 2023-06-08
  • CWE-94
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)

NVD record for CVE-2023-29404 (opens in a new tab)

9. CVE-2023-29405: Injection

  • CVSS 9.8 Critical
  • Published 2023-06-08
  • CWE-74
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)

NVD record for CVE-2023-29405 (opens in a new tab)

10. CVE-2023-24540: Command injection

  • CVSS 9.8 Critical
  • Published 2023-05-11
  • CWE-77
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)

NVD record for CVE-2023-24540 (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.

Go release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Go 1.27Aug 19, 2026Not announced1.27.3Supported
Go 1.26Feb 10, 2026Not announced1.26.10Supported
Go 1.25Aug 12, 2025Aug 19, 20261.25.14End of life
Go 1.24Feb 11, 2025Feb 10, 20261.24.13End of life
Go 1.23Aug 13, 2024Aug 12, 20251.23.12End of life
Go 1.22Feb 6, 2024Feb 11, 20251.22.12End of life
Go 1.21Aug 8, 2023Aug 13, 20241.21.13End of life
Go 1.20Feb 1, 2023Feb 6, 20241.20.14End 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

  1. Run a supported release and move to the next branch before the current one reaches end of life.
  2. Apply patch releases promptly.
  3. Pin and audit your dependencies, and update the vulnerable ones.
  4. Run applications as an unprivileged user.
  5. 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.

Few stacks run Go alone. These guides cover the technologies it is most often deployed with.

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

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.