# CVE-2026-82058: Unhandled Exception in MongoDB Server JSON Schema Validation Error Generation Leads to Denial of Service

- 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.40%, higher than 26% of CVEs (2026-11-30)
- Published: 2026-09-08T16:12:19.855Z
- Modified: 2026-09-17T14:45:04.911Z
- Also known as: BIT-MONGODB-2026-82058
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## Description

A flaw in MongoDB's JSON Schema validation error generation code allows an authenticated user with readWrite privileges to crash the mongod server. When a BSON document containing an array with a malformed numeric field name fails a $jsonSchema items type constraint, the error generation path performs unsafe numeric conversion on the user-controlled field name without proper exception handling, resulting in an uncaught exception that terminates the server process. This is possible because incoming wire protocol BSON validation does not enforce that array element field names are valid, in-range numeric indices.

(As written by CVE List.)

## Affected

- MongoDB MongoDB Server: from 8.3.0 before 8.3.9; from 8.0.0 before 8.0.30; from 7.0.0 before 7.0.41
- mongodb mongodb: from 7.0.0 before 7.0.41; from 8.0.0 before 8.0.30; from 8.3.0 before 8.3.9
- mongodb (Bitnami): from 7.0.0 before 7.0.41; from 8.0.0 before 8.0.30; from 8.3.0 before 8.3.9

## 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-130926> (advisory, issue-tracking, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-82058> (web)

## Sources

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

---

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