cve.bz

CVE-2021-27918

7.5 highEPSS 2.5%

High (7.5) in golang go. EPSS 2.5% chance of exploitation in the next 30 days. Fixed in stdlib 1.15.9, 1.16.1.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.5% chance of exploitation in the next 30 days; higher than 84% of CVEs (scores of 2026-10-31)
CWE
CWE-835
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2021-0234Gostdlib<1.15.9
>=1.16.0-0 <1.16.1
1.15.9, 1.16.1

References

Check your stackJSON