CVE-2026-120952 PUBLISHED

MongoDB Atlas SQL ODBC Driver writes 48-byte Extended JSON into fixed 16-byte SQL_C_GUID target, causing a 32-byte out-of-bounds write

Assigner: mongodb
Reserved: 03.11.2026 Published: 03.11.2026 Updated: 03.11.2026

An out-of-bounds write in the MongoDB Atlas SQL ODBC Driver may be triggered when a value of a particular database type is retrieved into a fixed-width client-side target. The driver produces a textual form of the value that is longer than the fixed target the ODBC interface defines, and copies it without limiting the copy to the target's real size. A database user with basic write privileges can influence part of the data written outside the target, which may corrupt memory in the application using the driver and cause that application to terminate unexpectedly.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor MongoDB
Product Atlas SQL ODBC Driver
Versions Default: unaffected
  • affected from 0.0.1 to 3.0.1 (excl.)

References

Problem Types

  • CWE-787: Out-of-bounds Write CWE