Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-82052 EUVD-2026-72939GHSA-p5gh-5wmf-x9p2

$regexFindAll may crash mongod server when byte-matching multi-byte UTF-8 chars

Published Sep 8, 2026 · Updated Sep 10, 2026 · Assigned by mongodb

Description

The $regexFindAll expression can be used by an authenticated user who can run aggregation pipeline stages to crash a MongoDB server (mongod). Under certain specific conditions the  regex match can start in the middle of a multi-code-unit character, triggering an assertion during query execution.

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Server 8.3.0 – < 8.3.9, 8.0 – < 8.0.30, 7.0 – < 7.0.41 8.3.9

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —
Ubuntu Pro 16.04 LTS mongodb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS mongodb No fix yet —

Advisories 2

References