CVE-2026-106431

EUVD-2026-95152
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.5 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 4.25%
Affected Products (NVD)
VendorProductVersion
mongodbc_driver
0.5.0 ≤
𝑥
< 1.30.13
mongodbc_driver
2.0.0 ≤
𝑥
< 2.5.6
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
mongo-c-driver
bookworm
vulnerable
forky
2.5.8-1
fixed
sid
2.5.8-1
fixed
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
mongo-c-driver
focal
needs-triage
jammy
needs-triage
noble
needs-triage
resolute
needs-triage
stonking
needs-triage