The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.
CVE-2020-14040
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 1.9%, top 23% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- —
- EPSS
- 77.0%
- KEV
- Not listed
Published
June 17, 2020
Last Modified
November 21, 2024
References (4)
- cve@mitrehttps://groups.google.com/forum/#%21topic/golang-announce/bXVeAmGOqz0
- cve@mitrehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O/
- af854a3a-2127-422b-91ae-364da2661108https://groups.google.com/forum/#%21topic/golang-announce/bXVeAmGOqz0
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O/
Vendor Advisories for CVE-2020-14040(8)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2021:1168Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.2.2 security and bug fix update
- RHSA-2021:1129Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat 3scale API Management 2.10.0 security update and release
- RHSA-2021:0799Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Virtualization 2.6.0 security and bug fix update
- RHSA-2020:4694Red Hat Product SecurityMedium
Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update
- RHSA-2020:4298Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.6.1 image security update
- RHSA-2020:3578Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.5.8 security update
- RHSA-2020:3372Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat OpenShift Service Mesh 3scale-istio-adapter-rhel8-container security update
- RHSA-2020:3369Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat OpenShift Service Mesh security update
Patch Availability(27)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| golang.org/x/text | — | 0.3.3 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(19)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2020:3087MODERATE2020-06-17
RHSA-2020:3087 — Moderate
- Red HatRHSA-2020:3665MODERATE2020-06-17
RHSA-2020:3665 — Moderate
- Red HatRHSA-2020:3727MODERATE2020-06-17
RHSA-2020:3727 — Moderate
- Red HatRHSA-2020:3780MODERATE2020-06-17
RHSA-2020:3780 — Moderate
- Red HatRHSA-2020:3783MODERATE2020-06-17
RHSA-2020:3783 — Moderate
- Red HatRHSA-2020:4214MODERATE2020-06-17
RHSA-2020:4214 — Moderate
- Red HatRHSA-2020:4297MODERATE2020-06-17
RHSA-2020:4297 — Moderate
- Red HatRHSA-2020:5054MODERATE2020-06-17
RHSA-2020:5054 — Moderate
- Red HatRHSA-2020:5055MODERATE2020-06-17
RHSA-2020:5055 — Moderate
- Red HatRHSA-2020:5056MODERATE2020-06-17
RHSA-2020:5056 — Moderate
- Red HatRHSA-2020:5149MODERATE2020-06-17
RHSA-2020:5149 — Moderate
- Red HatRHSA-2020:5198MODERATE2020-06-17
RHSA-2020:5198 — Moderate
- Red HatRHSA-2020:5605MODERATE2020-06-17
RHSA-2020:5605 — Moderate
- Red HatRHSA-2020:5606MODERATE2020-06-17
RHSA-2020:5606 — Moderate
- Red HatRHSA-2020:5633MODERATE2020-06-17
RHSA-2020:5633 — Moderate
- Red HatRHSA-2020:5635MODERATE2020-06-17
RHSA-2020:5635 — Moderate
- Red HatRHSA-2021:0420MODERATE2020-06-17
RHSA-2021:0420 — Moderate
- Red HatRHSA-2021:0980MODERATE2020-06-17
RHSA-2021:0980 — Moderate
- Red HatRHSA-2021:1369MODERATE2020-06-17
RHSA-2021:1369 — Moderate
Data Freshness Timeline
(refreshed 13× in last 7d / 44× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 22:34 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 10:52 UTCOSV refresh
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
Show 70 moreShow fewer
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 17:31 UTCOSV refresh
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 14:05 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 00:43 UTCOSV refresh
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 02:22 UTCEG score recompute
- 2026-05-27 02:22 UTCVendor advisory
- 2026-05-26 20:44 UTCOSV refresh
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Frequently asked(5)
What is CVE-2020-14040?
When was CVE-2020-14040 disclosed?
Is CVE-2020-14040 actively exploited?
What is the CVSS score of CVE-2020-14040?
How do I remediate CVE-2020-14040?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2020-14040
Is Your Infrastructure Affected by CVE-2020-14040?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.