{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-27918","published":"2021-03-11T00:15:12.030000Z","last_modified":"2026-06-17T03:45:36.970000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-835"],"cpes":[{"criteria":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","part":"a","vendor":"golang","product":"go","version_end_excluding":"1.15.9"},{"criteria":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","part":"a","vendor":"golang","product":"go","version_start_including":"1.16.0","version_end_excluding":"1.16.1"}],"cpes_truncated":false,"vendors":["golang"],"products":["golang/go"],"epss":{"score":0.02474,"percentile":0.85272,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2021-0234","ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":[{"introduced":"0","fixed":"1.15.9"},{"introduced":"1.16.0-0","fixed":"1.16.1"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-27918/","html_en":"/en/cve/CVE-2021-27918/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-27918","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-27918"},"untrusted":{"vendor_name":"Golang","product_name":"Go","desc_en":"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.","affected":[],"references":[{"url":"https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202208-02","tags":["Third Party Advisory"]}]}}