Incorrect Calculation of Buffer Size Affecting mod_security package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.41% (34th 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-RHEL9-MODSECURITY-17950249
  • published11 Jul 2026
  • disclosed10 Jul 2026

Introduced: 10 Jul 2026

NewCVE-2026-52761  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:9 mod_security.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mod_security package and not the mod_security package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1