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

- Severity: High 7.1 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 36% of CVEs (2026-11-30)
- Published: 2026-07-22T19:17:29.347Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: BIT-MONGODB-2026-13065
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB MongoDB Server: from 7.0 before 7.0.39; from 8.0 before 8.0.28; from 8.2.0 before 8.2.12; from 8.3.0 before 8.3.7
- mongodb mongodb: from 7.0.0 before 7.0.39; from 8.0.0 before 8.0.28; from 8.2.0 before 8.2.12; from 8.3.0 before 8.3.7
- mongodb (Bitnami): from 7.0.0 before 7.0.39; from 8.0.0 before 8.0.28; from 8.2.0 before 8.2.12; from 8.3.0 before 8.3.7

## Every score

- mongodb: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://jira.mongodb.org/browse/SERVER-127280> (advisory, issue-tracking, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-13065> (web)

## Sources

- CVE List: [CVE-2026-13065](https://www.cve.org/CVERecord?id=CVE-2026-13065), CVE Terms of Use, modified 2026-07-23
- NVD: [CVE-2026-13065](https://nvd.nist.gov/vuln/detail/CVE-2026-13065), Public domain, modified 2026-10-24
- Bitnami Vulnerability Database: [BIT-MONGODB-2026-13065](https://osv.dev/vulnerability/BIT-MONGODB-2026-13065), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-13065 · Whole record: https://cve.day/CVE-2026-13065.json · Rebuilt by cve.day 2026-11-25T22:59:29.846Z
