{"id":"CVE-2020-14040","published":"2020-06-17T19:22:31Z","modified":"2024-08-04T12:32:14Z","title":"The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01886,"percentile":0.80028,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/forum/#%21topic/golang-announce/bXVeAmGOqz0","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":16.01}]},"affected":[{"ecosystem":"Go","package":"golang.org/x/text","vulnerableRanges":["<0.3.3"],"patched":["0.3.3"],"from":["GHSA-5rcv-m4m3-hfh7","GO-2020-0015"],"provenance":"source"}],"summary":{"text":"The x/text package for Go, before version 0.3.3, contains a flaw in its encoding/unicode component where the UTF-16 decoder can enter an infinite loop. An attacker who can supply a single byte to a UTF-16 decoder created with UseBOM or ExpectBOM can trigger this loop when the Decoder's String function is called or the Decoder is passed to golang.org/x/text/transform.String, causing the program to crash or exhaust its memory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:47Z"},"euvd":{"id":"EUVD-2021-0962","exploited":false,"provenance":"source"}}