OWASP Coraza WAF: Resource exhaustion via deferred file handle accumulation in multipart body processor
OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, the multipart loop in internal/bodyprocessors/multipart.go executes defer temp.Close() for every uploaded file part, so each temporary-file descriptor remains open until the complete request returns. An unauthenticated attacker can submit a multipart body containing many minimal file parts and exhaust the process file-descriptor table within the request-body size limit, causing os.CreateTemp failures, MULTIPART_STRICT_ERROR responses, blocked legitimate uploads, and process-wide inability to open files or sockets. This issue is fixed in version 3.8.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-107834
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:32 UTC · Revision 1
Source evidence
OWASP Coraza WAF: Resource exhaustion via deferred file handle accumulation in multipart body processor
core-osv · Original sourcePublished 9 Oct 2026, 17:41 UTC
OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, the multipart loop in internal/bodyprocessors/multipart.go executes defer temp.Close() for every uploaded file part, so each temporary-file descriptor remains open until the complete request returns. An unauthenticated attacker can submit a multipart body containing many minimal file parts and exhaust the process file-descriptor table within the request-body size limit, causing os.CreateTemp failures, MULTIPART_STRICT_ERROR responses, blocked legitimate uploads, and process-wide inability to open files or sockets. This issue is fixed in version 3.8.0.
osv:CVE-2026-107834
Complete source record
{
"id": "7803c288fddc730be7e73e5db1dbbb1196ce830497eb09ba6045642f481056fd",
"url": "https://osv.dev/vulnerability/CVE-2026-107834",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OWASP Coraza WAF: Resource exhaustion via deferred file handle accumulation in multipart body processor",
"summary": "OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.0.0 until 3.8.0, the multipart loop in internal/bodyprocessors/multipart.go executes defer temp.Close() for every uploaded file part, so each temporary-file descriptor remains open until the complete request returns. An unauthenticated attacker can submit a multipart body containing many minimal file parts and exhaust the process file-descriptor table within the request-body size limit, causing os.CreateTemp failures, MULTIPART_STRICT_ERROR responses, blocked legitimate uploads, and process-wide inability to open files or sockets. This issue is fixed in version 3.8.0.",
"evidence": "osv:CVE-2026-107834",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-107834",
"aliases": [
"CVE-2026-107834",
"GHSA-rp9v-7xv3-r6g3",
"GO-2026-6697"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/corazawaf/coraza",
"type": "GIT",
"events": [
{
"introduced": "ad50864cfa00f5143fff7f6877847326fdc4b394"
},
{
"fixed": "19b86824f5e97eba72b289a81d5b3c1260292ff0"
},
{
"fixed": "1bc39036e99c88e7de60cf8e6bb55ee4c311223c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.8.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "1bc39036e99c88e7de60cf8e6bb55ee4c311223c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "19b86824f5e97eba72b289a81d5b3c1260292ff0"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v3.8.0"
}
]
}
}
],
"versions": [
"v3.7.0",
"v3.6.0",
"v3.5.0",
"v3.4.0",
"v3.3.3",
"v3.3.2",
"v3.3.1",
"v3.3.0",
"v3.2.1",
"v3.2.0",
"v3.1.0",
"v3.0.4",
"v3.0.3",
"v3.0.2",
"v3.0.1",
"v3.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107834.json"
}
}
],
"modified": "2026-10-28T02:30:23.828044371Z",
"provider": "osv",
"references": [
"https://github.com/corazawaf/coraza/releases/tag/v3.8.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107834.json",
"https://github.com/corazawaf/coraza/security/advisories/GHSA-rp9v-7xv3-r6g3",
"https://nvd.nist.gov/vuln/detail/CVE-2026-107834",
"https://github.com/corazawaf/coraza/commit/1bc39036e99c88e7de60cf8e6bb55ee4c311223c"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400",
"CWE-772"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107834.json"
}
},
"related_cves": [
{
"value": "CVE-2026-107834",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490300,
"published_at": "2026-10-09T17:41:07.802+00:00"
}