Skip to content
Heist/ feed
Back to feed
Medium

modsecurity — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-52761

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.

Products
modsecurity
Affected versions
3.0.10-1, 3.0.11-1, 3.0.12-1, 3.0.12-1.1build1, 3.0.12-1.1build2, 3.0.14-1build1, 3.0.14-1build2, 3.0.15-1, 3.0.16-1, 3.0.3-1, 3.0.4-1, 3.0.4-1build1, 3.0.4-2, 3.0.6-1
Fixed versions
Not specified
CVEs
CVE-2026-52761
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:45 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-52761

core-osv · Original source

Published 10 Jul 2026, 22:16 UTC

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.

osv:UBUNTU-CVE-2026-52761

modsecurity

Fixed versions: Not specified

modsecurity

Fixed versions: Not specified

modsecurity

Fixed versions: Not specified

modsecurity

Fixed versions: Not specified

modsecurity

Fixed versions: Not specified

Complete source record
{
  "id": "c323be926a0d8596ac7caba1cc0286a5e84c4105ee21d10660a2066dee78286a",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-52761",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-52761",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-52761",
    "products": [
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.4-1build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.4-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.0.6-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.10-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.11-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.12-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.12-1.1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.12-1.1build2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.14-1build2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.0.15-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.0.16-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.14-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.0.14-1build2",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-52761",
      "aliases": [
        "UBUNTU-CVE-2026-52761"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.0.3-1",
            "3.0.4-1",
            "3.0.4-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-52761.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3",
                "binary_version": "3.0.4-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.0.4-2",
            "3.0.6-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-52761.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3",
                "binary_version": "3.0.6-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.0.10-1",
            "3.0.11-1",
            "3.0.12-1",
            "3.0.12-1.1build1",
            "3.0.12-1.1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-52761.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3t64",
                "binary_version": "3.0.12-1.1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.0.14-1build2",
            "3.0.15-1",
            "3.0.16-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-52761.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3t64",
                "binary_version": "3.0.16-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.0.14-1build1",
            "3.0.14-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-52761.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3t64",
                "binary_version": "3.0.14-1build2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:01.191566064Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-52761"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-52761",
        "https://www.cve.org/CVERecord?id=CVE-2026-52761",
        "https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-qjgm-7gp4-f8qq",
        "https://github.com/owasp-modsecurity/ModSecurity/commit/edcd010814e234d46e2ec55a0f1078ff9d3032e4",
        "https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.16"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-52761",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359229,
  "published_at": "2026-07-10T22:16:00+00:00"
}