CVE-2026-82058
largeUncaught-exception DoS in MongoDB JSON Schema validation error handling
CVE-2026-82058 is an uncaught-exception denial-of-service flaw in MongoDB's (mongod) $jsonSchema validation error-generation code. An authenticated user with readWrite privileges can terminate the server by sending a BSON document whose array contains a malformed numeric field name; when that document fails an 'items' type constraint, the error path performs an unchecked numeric conversion on the attacker-controlled field name and the process crashes. The impact is full availability loss for the mongod instance (CVSS 4.0 availability impact High), with no confidentiality or integrity impact. The affected version ranges are not specified in the source data, so defenders should consult MongoDB's advisory for the fixed releases. No public proof-of-concept, KEV listing, or observed exploitation is known, and EPSS estimates only a 0.3% chance of exploitation in the next 30 days.
What to do: Upgrade mongod to the fixed release identified in MongoDB's advisory for CVE-2026-82058 (fixed version numbers are not listed in this dataset). As an interim mitigation, remove or relax $jsonSchema validators that use 'items' type constraints on collections writable by ordinary users, and restrict readWrite grants to trusted service accounts. Investigate any mongod crash following inserts into schema-validated collections and review mongod logs for uncaught exceptions.
| MongoDB Server (mongod) | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Weakness
- CWE-248
- Vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.