ZeroHour

CVE-2026-82055

mass

Null pointer dereference DoS in MongoDB 2dsphere index key generation

CVSS 4.0
7.1 high
EPSS
<1%p21
Published
()
Modified
AI analysis

CVE-2026-82055 is a null pointer dereference (CWE-476) in the index key generation of MongoDB's 2dsphere geospatial index that crashes the mongod server process. It is triggered when an authenticated user with write privileges inserts a specially crafted GeoJSON document into a collection with a 2dsphere index: inconsistent geometry parsing leaves an internal object partially initialized, and the subsequent key-generation step dereferences it, terminating the server. An attacker gains denial of service — repeated crafted inserts can keep crashing the database — with no confidentiality or integrity impact indicated. Any MongoDB deployment that allows write access to collections with 2dsphere indexes is affected; the specific affected version ranges were not provided in the source data. There is no known public proof-of-concept, it is not in the CISA KEV catalog, and EPSS assigns only a 0.3% chance of exploitation within 30 days.

What to do: Patch mongod to a fixed release as soon as MongoDB publishes the affected/fixed version matrix in its security advisory for CVE-2026-82055, since version ranges were not included in the source data. Until patched, restrict write access on 2dsphere-indexed collections to trusted principals, validate or constrain externally supplied GeoJSON, and alert on unexpected mongod restarts. Review whether any application code lets end users insert geospatial documents directly.

Affected
MongoDB (mongod) — 2dsphere index key generation
Estimated exposure
mass≈100k+ internet-exposed MongoDB instances (public internet scans) among millions of total deployments; practical blast radius narrowed to deployments with… — MongoDB is one of the most widely deployed document databases and internet-wide scans routinely show on the order of 100,000+ mongod instances exposed to the internet, but only deployments where untrusted, authenticated users can write…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A security issue exists in MongoDB's 2dsphere index key generation that can cause a server crash due to a null pointer dereference. When a specially crafted GeoJSON document is inserted into a collection with a 2dsphere index, an inconsistency in geometry parsing can leave an internal object in an invalid, partially initialized state. During subsequent index key generation, access to this improperly initialized object results in a null pointer dereference that terminates the mongod process. An authenticated user with write access can use this to cause a denial of service.

Weakness
CWE-476
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 news

No ingested article mentions this CVE yet.