Use of sizeof() on a Pointer Type Affecting modsecurity package, versions <3.0.14-1+deb13u2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.41% (38th 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-ECHOLATEST-MODSECURITY-20360743
  • published1 Oct 2026
  • disclosed10 Jul 2026

Introduced: 10 Jul 2026

CVE-2026-52761  (opens in a new tab)
CWE-467  (opens in a new tab)

How to fix?

Upgrade Echo:latest modsecurity to version 3.0.14-1+deb13u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream modsecurity package and not the modsecurity package as distributed by Echo. See How to fix? for Echo:latest 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