VYPR
Medium severity5.9NVD Advisory· Published May 20, 2026· Updated May 20, 2026

CVE-2026-9100

CVE-2026-9100

Description

The MongoDB C Driver's legacy GridFS API accepts malformed file metadata from the database without adequate validation. Crafted documents in a GridFS collection may cause any application that reads those files via the legacy API to either crash (via a division-by-zero) or silently leak process memory contents (via an out-of-bounds read).

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

MongoDB C Driver's legacy GridFS API mishandles malformed file metadata, enabling crashes or memory leaks via crafted documents.

Vulnerability

The vulnerability resides in the legacy GridFS API of the MongoDB C Driver. The API accepts malformed file metadata from the database without adequate validation. Crafted documents in a GridFS collection can trigger a division-by-zero crash or an out-of-bounds read that leaks process memory. Affected versions are prior to 1.30.8 and 2.2.4 [1].

Exploitation

An attacker must have write access to a GridFS collection and insert a specially crafted document. When an application reads that file using the legacy API, the malformed metadata causes the driver to perform invalid arithmetic or read beyond allocated buffers. No user interaction beyond the read operation is required.

Impact

Successful exploitation results in either a denial of service (application crash) or disclosure of process memory contents, which may include sensitive data. The attacker does not gain code execution or elevated privileges; the impact is limited to the reading process.

Mitigation

The issue is fixed in MongoDB C Driver versions 1.30.8 and 2.2.4 [1]. Users should upgrade to these versions or later. If upgrading is not immediately possible, avoid using the legacy GridFS API or restrict write access to GridFS collections to trusted users.

References
  1. Loading...

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.