VULNERABILITY INTELLIGENCE

CVE-2021-27918

CVSS score7.5 HIGH
EPSS probability2.47%
CISA KEVNot currently listed
Published2021-03-11
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

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.

Weakness classification

  • nvd@nist.gov: CWE-835

Primary references