CVE-2026-84969: Heap overflow via truncated base64 encoding of binary fields in length-limited JSON output

Published Sep 3, 2026
·
Updated

A memory-handling error in the BSON-to-JSON conversion helpers of the MongoDB C Driver can write a small number of bytes past the end of a heap buffer when a binary field is encoded and the output is cut short at a caller-configured length limit. A party who supplies the document content, with no privileges on the application that links the driver, may cause a small amount of data outside the intended buffer to be altered.

Affected Software

1 affected component
MongoDB MongoDB C driver

Event History

Sep 3, 2026
CVE Published
via MITRE·02:59 PM
Data Sourced
via MITRE·02:59 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker must be able to supply document content that the application converts from BSON to JSON. The application must use the driver's BSON-to-JSON conversion helpers with a caller-configured output length limit that cuts the output short while encoding a binary field.

2

Is authentication required to trigger the issue?

No. The reported attack scenario requires no privileges on the application linking the driver, but the attacker still needs a way to provide the document content processed by that application.

3

What is the expected impact?

The issue can alter a small number of bytes beyond the intended heap buffer. The provided impact assessment indicates integrity impact only, with no reported confidentiality or availability impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203