CVE-2026-52761

Source
https://cve.org/CVERecord?id=CVE-2026-52761
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52761.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52761
Aliases
Downstream
Published
2026-07-10T21:40:23.961Z
Modified
2026-08-27T08:32:57.451362Z
Severity
  • 5.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N CVSS Calculator
Summary
ModSecurity: Transformation utf8toUnicode produces wrong output on i386 architecture
Details

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/utf8tounicode.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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52761.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-467"
    ]
}
References

Affected packages

Git / github.com/owasp-modsecurity/modsecurity

Affected ranges

Type
GIT
Repo
https://github.com/owasp-modsecurity/modsecurity
Events
Database specific
Show details
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:owasp:modsecurity:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.0.0"
        },
        {
            "last_affected": "3.0.15"
        }
    ]
}

Affected versions

v3.*
v3.0.0
v3.0.1
v3.0.10
v3.0.11
v3.0.12
v3.0.13
v3.0.14
v3.0.15
v3.0.2
v3.0.3
v3.0.4
v3.0.5
v3.0.6
v3.0.7
v3.0.8
v3.0.9
v4.*
v4.0.0.0

Database specific

vanir_signatures_modified
"2026-08-27T08:32:57Z"
vanir_signatures
[
    {
        "digest": {
            "function_hash": "189875566307153264759742478548873607075",
            "length": 4162.0
        },
        "signature_type": "Function",
        "source": "https://github.com/owasp-modsecurity/modsecurity/commit/edcd010814e234d46e2ec55a0f1078ff9d3032e4",
        "id": "CVE-2026-52761-7232b911",
        "deprecated": false,
        "signature_version": "v1",
        "target": {
            "file": "src/actions/transformations/utf8_to_unicode.cc",
            "function": "encode"
        }
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "79772351643922581001507942940615553275",
                "51855614802641850113864520576721124036",
                "43520524375649707598218463086627481483",
                "185266507617586194539802336342961095591",
                "124748630253991070031061963493082400457",
                "5676183380359607255463324303236985202",
                "123308590795090313962207814274805285879",
                "199871826032601946481378403029451680933",
                "17827673864226728656433031948682731291",
                "62938945345873348389668743653887994473",
                "131844961014464671930303173297281415561",
                "42347015930452766397221733516769176545",
                "59084688124245588210218372618972504722",
                "189636792272493590742475699903134565297",
                "232929058185679866918954565425526792281",
                "39254513050279714723525506804828863675",
                "5676183380359607255463324303236985202",
                "123308590795090313962207814274805285879",
                "199871826032601946481378403029451680933",
                "17827673864226728656433031948682731291",
                "62938945345873348389668743653887994473",
                "131844961014464671930303173297281415561",
                "42347015930452766397221733516769176545",
                "59084688124245588210218372618972504722",
                "189636792272493590742475699903134565297",
                "232929058185679866918954565425526792281",
                "67512179264863464612112034315869493803",
                "5676183380359607255463324303236985202",
                "123308590795090313962207814274805285879",
                "199871826032601946481378403029451680933",
                "17827673864226728656433031948682731291",
                "62938945345873348389668743653887994473",
                "131844961014464671930303173297281415561",
                "42347015930452766397221733516769176545",
                "59084688124245588210218372618972504722",
                "189636792272493590742475699903134565297",
                "232929058185679866918954565425526792281"
            ]
        },
        "signature_type": "Line",
        "source": "https://github.com/owasp-modsecurity/modsecurity/commit/edcd010814e234d46e2ec55a0f1078ff9d3032e4",
        "id": "CVE-2026-52761-da3fc2e4",
        "deprecated": false,
        "signature_version": "v1",
        "target": {
            "file": "src/actions/transformations/utf8_to_unicode.cc"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52761.json"