Vulnerability · Published Jul 22, 2026 · Assigned by mongodb

CVE-2026-13065MongoDB $linearFill Window Function Improper Input Validation Leading to Process Termination

Medium 6.5

In plain English

A medium-severity null pointer dereference in MongoDB Server from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities).

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 57.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A user with read-only privileges is able to craft an aggregation pipeline using the $linearFill window function operator with a specific sortBy expression type to cause the mongod process to terminate abnormally, resulting in denial of service. The issue stems from insufficient validation of sort specifications during execution.

Affected products (as reported)

VendorProductVersions
MongoDB MongoDB Server 7.0 – before 7.0.398.0 – before 8.0.288.2.0 – before 8.2.128.3.0 – before 8.3.7

Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References