{"id":"CVE-2020-14040","aliases":["GHSA-5rcv-m4m3-hfh7","GO-2020-0015"],"url":"https://o3.security/vulnerability/CVE-2020-14040","summary":"golang.org/x/text Infinite loop","details":"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.","published":"2020-06-17T20:15:09.993Z","modified":"2026-07-08T05:58:30.363626889Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"golang.org/x/text","fixedVersion":"0.3.3"}],"fix":null,"references":[{"type":"WEB","url":"https://groups.google.com/forum/#%21topic/golang-announce/bXVeAmGOqz0"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:58:30.363626889Z"}}