{"id":"CVE-2026-107833","published":"2026-10-09T17:39:48Z","modified":"2026-10-09T18:02:08Z","title":"OWASP Coraza WAF: Unbounded recursion in JSON response body processor causes CPU exhaustion","vendor":"corazawaf","product":"coraza","tier":"tail","description":{"text":"OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, ProcessResponse in internal/bodyprocessors/json.go passes the ignoreJSONRecursionLimit value of -1 to readJSON, while the recursive guard only stops at zero. A network attacker who can cause an application protected by Coraza to return deeply nested JSON can make response-body processing perform quadratic work, consuming one CPU core for seconds per response within the default ResponseBodyLimit. Request JSON processing is not affected by this specific path because it uses the configured request recursion limit, and exploitation requires response-body inspection to be enabled. This issue is fixed in version 3.8.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00515,"percentile":0.37163,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/corazawaf/coraza/security/advisories/GHSA-3c6w-j9xm-8h2h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/corazawaf/coraza/commit/cae3c7407e7b84372c207033de03f15f89bf351a","tags":["x_refsource_MISC"]},{"url":"https://github.com/corazawaf/coraza/releases/tag/v3.8.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.43},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"corazawaf","affectedVersions":[{"vendor":"corazawaf","product":"coraza","versions":[">= 3.0.0, < 3.8.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-09T18:01:32.504807Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/corazawaf/coraza/v3","vulnerableRanges":[">=3.0.0, <3.8.0"],"patched":["3.8.0"],"from":["GHSA-3c6w-j9xm-8h2h","GO-2026-6690"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/corazawaf/coraza","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6690"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/corazawaf/coraza/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6690"],"provenance":"source"}],"summary":{"text":"The OWASP Coraza WAF (a Go, ModSecurity-compatible web application firewall library, versions 3.0.0 through 3.8.0) has an unbounded recursion flaw in its JSON response body processor, where the recursion guard is bypassed by a limit value of -1. A network attacker who can cause an application protected by Coraza to return deeply nested JSON can force quadratic processing that consumes a CPU core for seconds per response, provided response-body inspection is enabled; request JSON processing is not affected by this path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:24Z"},"euvd":{"id":"EUVD-2026-95926","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-corazawaf-coraza-cve-2023-40586","parents":[{"from":"CVE-2026-107825","to":"CVE-2026-107833","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coraza.conf-recommended","internal/corazawaf/transaction.go","internal/corazawaf/waf.go"],"commits":["https://github.com/corazawaf/coraza/commit/0321af96cef18fbafb40980cf075d7cc449a66fa","https://github.com/corazawaf/coraza/commit/cae3c7407e7b84372c207033de03f15f89bf351a"],"basis":"rarely changed file"}]},{"from":"CVE-2026-107826","to":"CVE-2026-107833","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/bodyprocessors/json.go"],"commits":["https://github.com/corazawaf/coraza/commit/814e1898e083d2ff2ceb644382d0da17e930f93f","https://github.com/corazawaf/coraza/commit/cae3c7407e7b84372c207033de03f15f89bf351a"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-107833","to":"CVE-2026-114099","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/bodyprocessors/json.go"],"commits":["https://github.com/corazawaf/coraza/commit/cae3c7407e7b84372c207033de03f15f89bf351a","https://github.com/corazawaf/coraza/commit/52af139cab5ad10c5cb0152a161063b523907bdf","https://github.com/corazawaf/coraza/commit/5f577a548aeb9ca836122df4258f93ef6cfab38a"],"basis":"shared function","functions":["ProcessRequest","readItems"]}]},{"from":"CVE-2026-107833","to":"CVE-2026-114101","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coraza.conf-recommended","internal/corazawaf/transaction.go","internal/corazawaf/waf.go"],"commits":["https://github.com/corazawaf/coraza/commit/cae3c7407e7b84372c207033de03f15f89bf351a","https://github.com/corazawaf/coraza/commit/5427c501b2fea6ae1305903efef01b3049224a58","https://github.com/corazawaf/coraza/commit/b2a9264437116bdd98a86fe345b2aec1152d3d7c"],"basis":"rarely changed file"}]}]}}