Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-27918 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw | CVE | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/202208-02 | CVE | Third Party Advisory |
| https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw | [email protected] | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/202208-02 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.15.9 >= 1.16.0, < 1.16.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 13, 2022 | Modified Analysis | [email protected] |
| Aug 4, 2022 | CVE Modified | [email protected] |
| Mar 18, 2021 | Initial Analysis | [email protected] |