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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00052}

epss

{'score': 0.00054}


Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00026}

epss

{'score': 0.00052}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T21:33:16.406Z

Reserved: 2021-03-03T00:00:00

Link: CVE-2021-27918

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-03-11T00:15:12.030

Modified: 2024-11-21T05:58:48.207

Link: CVE-2021-27918

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-03-10T00:00:00Z

Links: CVE-2021-27918 - Bugzilla

cve-icon OpenCVE Enrichment

No data.