CVE-2026-52761
JSON

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 packageVersionsReported by
owasp-modsecurity ModSecurity>= 3.0.0, < 3.0.16CVE List
owasp modsecurityfrom 3.0.0 up to 3.0.15NVD
modsecurity (Bitnami)from 3.0.0 before 3.0.16Bitnami Vulnerability Database
modsecurity2 (Bitnami)from 3.0.0 before 3.0.16Bitnami Vulnerability Database

All scores

GitHub_M5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-467

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

SourceRecordLicence
CVE ListCVE-2026-52761 changed 2026-07-13CVE Terms of Use
NVDCVE-2026-52761 changed 2026-10-25Public domain
Bitnami Vulnerability DatabaseBIT-MODSECURITY-2026-52761 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MODSECURITY2-2026-52761 changed 2026-09-08Apache-2.0