CVE-2026-107834: Coraza · Resource exhaustion via deferred file handle accumulation in multipart body processor
Affects github.com/corazawaf/coraza/v3Source GCVE Database
Mentioned vulnerabilities
CVSS 5.3 Medium : upgrade to 3.8.0 when convenient.
Data as of 9 Oct 2026, 22:36 UTC
- Patch
- Available – fixed in 3.8.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LWhat to do
Upgrade github.com/corazawaf/coraza/v3 to 3.8.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/corazawaf/coraza/v3 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available that fixes the issue by closing temporary files explicitly after copying instead of deferring the close. Users should upgrade to Coraza v3.8.0 or later where this issue is resolved. Until patched, mitigating this vulnerability is difficult as it is inherent to the multipart processor implementation. Monitoring multipart request sizes and counts may help reduce risk but is not a full mitigation.
Description
A resource exhaustion vulnerability exists in Coraza v3 multipart body processor due to deferred file handle closures inside a loop. This causes file descriptors to accumulate until the request processing completes, potentially exhausting the file descriptor limit and causing denial of service. The issue affects all v3.x releases before 3.8.0. The vulnerability can trigger false positives in the Core Rule Set (CRS) and block legitimate multipart requests. A patch is available to fix the improper defer usage.
References
- github.com/corazawaf/coraza/security/advisories/GHSA-rp9v-7xv3-r6g3 (opens in a new tab)
- github.com/corazawaf/coraza/commit/1bc39036e99c88e7de60cf8e6bb55ee4c311223c (opens in a new tab)
- github.com/corazawaf/coraza (opens in a new tab)
- github.com/corazawaf/coraza/releases/tag/v3.8.0 (opens in a new tab)