{"id":"CVE-2022-28946","aliases":["GHSA-x7f3-62pm-9p38","GO-2022-0587"],"url":"https://o3.security/vulnerability/CVE-2022-28946","summary":"Out of bounds memory access in github.com/open-policy-agent/opa","details":"An issue in the component ast/parser.go of Open Policy Agent v0.39.0 causes the application to incorrectly interpret every expression, causing a Denial of Service (DoS) via triggering out-of-range memory access.","published":"2022-05-19T18:03:47Z","modified":"2026-08-12T03:51:35.464981209Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/open-policy-agent/opa","fixedVersion":"0.40.0"}],"fix":{"url":"https://github.com/open-policy-agent/opa/commit/e9d3828db670cbe11129885f37f08cbf04935264","label":"open-policy-agent/opa@e9d3828"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28946.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28946"},{"type":"FIX","url":"https://github.com/open-policy-agent/opa/commit/e9d3828db670cbe11129885f37f08cbf04935264"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:35.464981209Z"}}