ADVISORIES

Vulnerability

CVE-2021-27918

encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOF in the middle of an element. This can occur in the Decode, DecodeElement, or Skip method.

22 advisories report this vulnerability, across 12 ecosystems.

Advisories in Azure Linux

  • AZL-79104

    CVE-2021-27918 affecting package golang 1.26.11-1

    CVE-2021-27918 Azure Linux Updated 25 November 2026
  • AZL-98703

    CVE-2021-27918 affecting package golang 1.27.1-1

    CVE-2021-27918 Azure Linux Updated 16 September 2026

References