CVE-2020-28366 | Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo

Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via a malicious unquoted symbol name in a linked object file.

Published: 2020-11-18 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2020-28366 is rated Moderate Risk (60.2/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.24%). Core evidence: EPSS rose +2.03% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2020-28366

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.22% 2.24% +2.03%
2 2025-11-21 0.97% 0.22% -0.75%
3 2025-11-18 0.97%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2020-28366

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.6 5.9 [email protected]
5.1 2.0 MEDIUM
AV:N/AC:H/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:H)
Exploitation requires uncommon or highly specific conditions.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
4.9 6.4 [email protected]

Weakness enumeration for CVE-2020-28366

OS Trackers for CVE-2020-28366

vendor priority summary link
alpine high CVE-2020-28366: 1 source package rows (go); 25 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 18. https://security.alpinelinux.org/vuln/CVE-2020-28366
debian not yet assigned CVE-2020-28366 not yet assigned priority: Debian including 1 source packages (golang-1.15), 1 status rows across 1 suites (bullseye): resolved 1. https://security-tracker.debian.org/tracker/CVE-2020-28366
gentoo high CVE-2020-28366: 1 GLSA(s) (202208-02), 1 atom(s) (dev-lang/go); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2020-28366
redhat medium https://access.redhat.com/security/cve/CVE-2020-28366
suse high CVE-2020-28366 severity important: SUSE including 30 source package names (delve-1.4.1-1.module+el8.3.0+7840+63dfb1ed, go-toolset-1.14.12-1.module+el8.3.0+8784+380394dc, …), 62 product×package rows across 12 product lines (SUSE Liberty Linux 8, SUSE Linux Enterprise Module for Development Tools 15 SP1, … (12 product lines)): Fixed 62. https://www.suse.com/security/cve/CVE-2020-28366/
ubuntu medium CVE-2020-28366 medium priority: Ubuntu including 8 source packages (golang, golang-1.10, …), 120 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 92, needed 10, ignored 9, needs-triage 7, released 2. https://ubuntu.com/security/CVE-2020-28366

Affected software / configurations for CVE-2020-28366

Vendor Product Version Raw CPE
golang go < 1.14.12 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
golang go >= 1.15, < 1.15.5 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
fedoraproject fedora 32 cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
fedoraproject fedora 33 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
netapp cloud_insights_telegraf_agent cpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:*
netapp trident cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:*

References for CVE-2020-28366

cvelogic Threat Intelligence