Incomplete Filtering of Multiple Instances of Special Elements Affecting modsecurity-crs package, versions <3.3.7-1+deb13u1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
14.22% (97th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-MODSECURITYCRS-14907849
  • published9 Jan 2026
  • disclosed8 Jan 2026

Introduced: 8 Jan 2026

CVE-2026-21876  (opens in a new tab)
CWE-794  (opens in a new tab)

How to fix?

Upgrade Debian:13 modsecurity-crs to version 3.3.7-1+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream modsecurity-crs package and not the modsecurity-crs package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

The OWASP core rule set (CRS) is a set of generic attack detection rules for use with compatible web application firewalls. Prior to versions 4.22.0 and 3.3.8, the current rule 922110 has a bug when processing multipart requests with multiple parts. When the first rule in a chain iterates over a collection (like MULTIPART_PART_HEADERS), the capture variables (TX:0, TX:1) get overwritten with each iteration. Only the last captured value is available to the chained rule, which means malicious charsets in earlier parts can be missed if a later part has a legitimate charset. Versions 4.22.0 and 3.3.8 patch the issue.

CVSS Base Scores

version 3.1