ADVISORIES

Vulnerability

CVE-2020-14040

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.

32 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALAS2-2020-1494

    Amazon Linux 2 2017.12 - ALAS2-2020-1494: medium priority package update for golang

    Medium CVE-2020-14040CVE-2020-16845 Amazon Linux Updated 30 September 2020
  • ALSA-2020:4694

    Moderate: container-tools:rhel8 security, bug fix, and enhancement update

    CVE-2020-10749CVE-2020-10756CVE-2020-14040 AlmaLinux Updated 29 October 2026
  • AZL-44364

    CVE-2020-14040 affecting package podman for versions less than 5.6.1-2

    CVE-2020-14040 Azure Linux Updated 21 April 2026
  • AZL-44877

    CVE-2020-14040 affecting package buildah for versions less than 1.41.4-2

    CVE-2020-14040 Azure Linux Updated 21 April 2026
  • CGA-32cv-vm66-phgc
    CVE-2020-14040 ChainguardWolfi Updated 5 November 2026
  • CGA-3gxp-p49p-g8qv
    CVE-2020-14040 ChainguardWolfi Updated 5 November 2026
  • CGA-5275-h9fg-m6h9
    CVE-2020-14040 ChainguardWolfi Updated 5 November 2026
  • CGA-6v7j-w39g-9vxh
    CVE-2020-14040 ChainguardWolfi Updated 5 November 2026
  • CGA-7w98-qcmg-5p4w
    CVE-2020-14040 ChainguardWolfi Updated 5 November 2026
  • CGA-c9h8-92g5-97fx
    CVE-2020-14040 Chainguard Updated 5 November 2026
  • CGA-cwxc-pv7v-c7r6
    CVE-2020-14040 ChainguardWolfi Updated 5 November 2026
  • CGA-q3f4-9qqr-j87c
    CVE-2020-14040 ChainguardWolfi Updated 5 November 2026
  • CGA-rrw2-ghj5-33w5
    CVE-2020-14040 ChainguardWolfi Updated 5 November 2026
  • CGA-xm2g-g8h7-r467
    CVE-2020-14040 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2020-14040

    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…

    CVE-2020-14040 Debian Updated 26 October 2026
  • ELSA-2020-3665

    ELSA-2020-3665: go-toolset:ol8 security update (MODERATE)

    Moderate CVE-2020-14040CVE-2020-15586CVE-2020-16845 Oracle Linux Updated 11 September 2020
  • ELSA-2020-4694

    ELSA-2020-4694: container-tools:ol8 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2020-10749CVE-2020-10756CVE-2020-14040 Oracle Linux Updated 10 November 2020
  • GHSA-5rcv-m4m3-hfh7

    golang.org/x/text Infinite loop

    Moderate CVE-2020-14040 Go Updated 10 September 2026
  • GO-2020-0015

    Infinite loop when decoding some inputs in golang.org/x/text

    CVE-2020-14040 Go Updated 4 February 2026
  • RHSA-2020:3369

    Red Hat Security Advisory: Red Hat OpenShift Service Mesh security update

    Known exploited CVE-2020-11023CVE-2020-12666CVE-2020-14040CVE-2020-8203 Red Hat Updated 23 November 2026
  • RHSA-2020:3665

    Red Hat Security Advisory: go-toolset:rhel8 security update

    CVE-2020-14040CVE-2020-15586CVE-2020-16845 Red Hat Updated 13 November 2026
  • RHSA-2020:4214

    Red Hat Security Advisory: go-toolset-1.13-golang security and bug fix update

    CVE-2020-14040CVE-2020-15586CVE-2020-16845 Red Hat Updated 13 November 2026
  • RHSA-2020:4297

    Red Hat Security Advisory: OpenShift Container Platform 4.6.1 package security update

    CVE-2019-16541CVE-2020-14040CVE-2020-14370CVE-2020-15586 Red Hat Updated 13 November 2026
  • RHSA-2020:4694

    Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update

    CVE-2020-10749CVE-2020-10756CVE-2020-14040 Red Hat Updated 23 November 2026
  • RHSA-2020:5054

    Red Hat Security Advisory: skopeo security update

    CVE-2020-14040 Red Hat Updated 13 November 2026
  • RHSA-2020:5055

    Red Hat Security Advisory: buildah security update

    CVE-2020-14040 Red Hat Updated 13 November 2026
  • RHSA-2020:5056

    Red Hat Security Advisory: podman security and bug fix update

    CVE-2020-14040CVE-2020-14370 Red Hat Updated 13 November 2026
  • RHSA-2020:5606

    Red Hat Security Advisory: Red Hat OpenShift Container Storage 4.6 bug fix and enhancement update

    CVE-2020-14040CVE-2020-15586CVE-2020-16845 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2020-14040

    golang.org/x/text: possibility to trigger an infinite loop in encoding/unicode could lead to crash

    Moderate CVE-2020-14040 Red Hat Updated 12 November 2026
  • RLSA-2020:4694

    Moderate: container-tools:rhel8 security, bug fix, and enhancement update

    CVE-2020-10749CVE-2020-10756CVE-2020-14040 Rocky Linux Updated 4 February 2026
  • UBUNTU-CVE-2020-14040

    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…

    CVE-2020-14040 Ubuntu Updated 4 February 2026
  • USN-5873-1

    golang-golang-x-text, golang-x-text vulnerabilities

    CVE-2020-14040CVE-2020-28851CVE-2020-28852CVE-2021-38561 Ubuntu Updated 27 April 2026

References