5.8medium
ModSecurity: Transformation utf8toUnicode produces wrong output on i386 architecture
- Severity
- 5.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-MODSECURITY-2026-52761BIT-MODSECURITY2-2026-52761GHSA-qjgm-7gp4-f8qq
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| owasp-modsecurity ModSecurity | >= 3.0.0, < 3.0.16 | CVE List |
| owasp modsecurity | from 3.0.0 up to 3.0.15 | NVD |
| modsecurity (Bitnami) | from 3.0.0 before 3.0.16 | Bitnami Vulnerability Database |
| modsecurity2 (Bitnami) | from 3.0.0 before 3.0.16 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
ModSecurity es un motor de cortafuegos de aplicaciones web (WAF) de código abierto y multiplataforma para Apache, IIS y Nginx. Desde la versión 3.0.0 hasta la 3.0.15, la transformación t:utf8toUnicode en src/actions/transformations/utf8_to_unicode.cc produce una salida incorrecta en la arquitectura i386 porque snprintf utiliza sizeof en un puntero de tipo char en lugar de la longitud del búfer Unicode, lo que permite que las reglas que utilizan esta transformación sean eludidas en la arquitectura i386. Este problema está solucionado en la versión 3.0.16.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-52761 changed 2026-07-13 | CVE Terms of Use |
| NVD | CVE-2026-52761 changed 2026-10-25 | Public domain |
| Bitnami Vulnerability Database | BIT-MODSECURITY-2026-52761 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MODSECURITY2-2026-52761 changed 2026-09-08 | Apache-2.0 |