Description
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.0 through 3.0.15, the t:utf8toUnicode transformation in src/actions/transformations/utf8_to_unicode.cc produces wrong output on i386 architecture because snprintf uses sizeof on a char pointer rather than the length of the unicode buffer, allowing rules that use this transformation to be bypassed on i386 architecture. This issue is fixed in version 3.0.16.
Published: 2026-07-10
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The ModSecurity web application firewall includes a flaw in the t:utf8toUnicode transformation; on i386 processors the function incorrectly uses snprintf with sizeof on a character pointer instead of the expected Unicode buffer length, producing malformed Unicode output. This represents a data conversion error (CWE‑131) and also involves uninitialized memory usage (CWE‑467). Rules that rely on this transformation therefore process payloads that would normally be blocked to pass through. No explicit statement indicates code execution or privilege escalation; it is inferred from the mention that only rule bypass is impacted. The potential for injection or cross‑site scripting attacks that exploit the weakened filtering is also inferred.

Affected Systems

The vulnerability affects the OWASP ModSecurity project, specifically engine versions 3.0.0 through 3.0.15 inclusive. These releases support Apache, IIS and Nginx WAF deployments on various platforms. The issue is present only on i386 architectures; non‑i386 builds are not impacted. The bug was corrected in ModSecurity 3.0.16.

Risk and Exploitability

The CVSS base score of 5.8 classifies this as a medium‑severity vulnerability, and the EPSS score of less than 1% indicates that exploitation is considered unlikely but not impossible. The vulnerability is not listed in CISA KEV. Because the flaw is triggered by normal HTTP traffic and can be leveraged by sending crafted requests to an affected i386 server, the bypass of ModSecurity rules can be achieved with little effort; this is inferred from the vulnerability description. However, the limited scope—the requirement for an i386 environment—reduces the overall attack surface compared to a generic vulnerability that affects all architectures; this reduction is inferred.

Generated by OpenCVE AI on July 29, 2026 at 09:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ModSecurity to version 3.0.16, where the bug in the UTF‑8 to Unicode transformation is fixed.
  • If an immediate upgrade is not feasible, disable or remove any rules that use the t:utf8toUnicode transformation until the patch is applied to prevent rule bypass.
  • Continuously monitor ModSecurity logs for unexpected rule bypasses or anomalous traffic patterns that may indicate exploitation of this flaw.

Generated by OpenCVE AI on July 29, 2026 at 09:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Modsecurity
Modsecurity modsecurity
Vendors & Products Modsecurity
Modsecurity modsecurity

Mon, 13 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 11 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 10 Jul 2026 22:00:00 +0000

Type Values Removed Values Added
Description ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.0 through 3.0.15, the t:utf8toUnicode transformation in src/actions/transformations/utf8_to_unicode.cc produces wrong output on i386 architecture because snprintf uses sizeof on a char pointer rather than the length of the unicode buffer, allowing rules that use this transformation to be bypassed on i386 architecture. This issue is fixed in version 3.0.16.
Title ModSecurity: Transformation utf8toUnicode produces wrong output on i386 architecture
Weaknesses CWE-467
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N'}


Subscriptions

Modsecurity Modsecurity
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-13T14:08:57.437Z

Reserved: 2026-06-08T17:13:43.063Z

Link: CVE-2026-52761

cve-icon Vulnrichment

Updated: 2026-07-13T14:08:51.929Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-10T21:40:23Z

Links: CVE-2026-52761 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T10:00:15Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

  • CWE-467

    Use of sizeof() on a Pointer Type