{"cve":"CVE-2021-38297","nvd":{"published":"2021-10-18T06:15:06.870","modified":"2026-06-17T04:01:49.353","status":"Modified","description":"Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when GOARCH=wasm GOOS=js is used.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-120"],"references":["https://groups.google.com/forum/#%21forum/golang-announce","https://groups.google.com/g/golang-announce/c/AEBu9j7yj5A","https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OFS3M3OFB24SWPTIAPARKGPUMQVUY6Z/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ON7BQRRJZBOR5TJHURBAB3WLF4YXFC6Z/"],"products":["fedoraproject:fedora","golang:go"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-38297","score":0.10962,"percentile":0.9589,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GO-2022-0247","url":"https://osv.dev/vulnerability/GO-2022-0247","summary":"Buffer overflow in WASM modules in misc/wasm and cmd/link","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"toolchain","purl":"pkg:golang/toolchain","ranges":["<1.16.9",">=1.17.0-0 <1.17.2"],"fixed":["1.16.9","1.17.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}