CVE-2026-106431
- CVE-2026-106431
Description
An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.
Text from the NVD record.
Recommendation
mongodb c driver
- If you run a version from 2.0.0 to before 2.5.6update to 2.5.6 or laterMinor version change: check the release notes
- If you run a version from 0.5.0 to before 1.30.13update to 1.30.13 or laterMajor version change: expect breaking changes
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
mongodb c driver
Affected versions Fixed in from 2.0.0 to before 2.5.6 2.5.6 from 0.5.0 to before 1.30.13 1.30.13
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.