---
id: CVE-2026-41508
title: >-
  OWASP Coraza WAF is a golang modsecurity compatible web application firewall
  library
summary: >-
  OWASP Coraza WAF is a golang modsecurity compatible web application firewall
  library. From 3.4.0 until 3.8.0, the multipart processor in
  internal/bodyprocessors/multipart.go treats io.ErrUnexpectedEOF as nonfatal
  without setting MULTIPAR…
severity: medium
cvss: 5.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N'
cwe:
  - CWE-693
  - CWE-755
  - CWE-20
vendor: corazawaf
product: github.com/corazawaf/coraza/v3
affected:
  - 'github.com/corazawaf/coraza/v3 >= 3.4.0, < 3.8.0'
patched:
  - github.com/corazawaf/coraza/v3 3.8.0
published: '2026-10-12'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T20:04:29.760'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-41508'
references:
  - url: >-
      https://github.com/corazawaf/coraza/commit/f94c81bec209f658120c418448d0590a549b71df
    label: security-advisories@github.com
  - url: 'https://github.com/corazawaf/coraza/releases/tag/v3.8.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/corazawaf/coraza/security/advisories/GHSA-r3rm-qphw-hh76
    label: security-advisories@github.com
  - url: 'https://github.com/corazawaf/coraza'
  - url: 'https://github.com/advisories/GHSA-r3rm-qphw-hh76'
tags:
  - nvd
  - osv
  - go
  - ghsa
  - cve.org
epss: 0.00497
epssPercentile: 0.4238
aliases:
  - GHSA-r3rm-qphw-hh76
  - GO-2026-6670
ecosystem: go
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-13T20:19:07.186164Z'
ingestedAt: '2026-10-06T21:20:28.990Z'
---

## Overview

OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. From 3.4.0 until 3.8.0, the multipart processor in internal/bodyprocessors/multipart.go treats io.ErrUnexpectedEOF as nonfatal without setting MULTIPART_STRICT_ERROR. A remote attacker can submit a truncated multipart body that produces io.ErrUnexpectedEOF, causing parsing to stop without raising the strict-error signal used by the recommended defensive rule. Rules 200002 and 200003 do not fire, allowing multipart parser-disagreement payloads to reach a backend that interprets the truncated body differently. This issue is fixed in version 3.8.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-41508)

Affected packages:

- `github.com/corazawaf/coraza/v3 >= 3.4.0, < 3.8.0`

Patched in:

- `github.com/corazawaf/coraza/v3 3.8.0`

Source: https://osv.dev/vulnerability/GHSA-r3rm-qphw-hh76
