[ CVE-2026-107383 · Published 8 Oct 2026 ]
MariaDB Connector/Node.js exposes uninitialized process memory through malformed GeoJSON parameters
[ Description ]Official description
MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. Prior to 3.2.5, 3.3.4, 3.4.7, and 3.5.4, the GeoJSON Polygon and MultiPolygon binary encoders size a Buffer.allocUnsafe() allocation from each ring's numeric length before confirming that the ring is an array. A malformed non-array ring can therefore reserve bytes that the writing loop skips, and the connector sends the full buffer through execute() or batch(), disclosing uninitialized Node.js heap data into a database value. The persisted data can include other users' content, session material, database credentials, or TLS key material and may propagate to backups and replicas. The text-protocol query() path is not affected. This issue is fixed in versions 3.2.5, 3.3.4, 3.4.7, and 3.5.4.
[ Fixes ]Fixes and patches
- mariadb 3.2.5Fixed version · GitHub Advisories · npm package mariadb: upgrade to 3.2.5 or later (affected < 3.2.5)
- mariadb 3.3.4Fixed version · GitHub Advisories · npm package mariadb: upgrade to 3.3.4 or later (affected >= 3.3.0, < 3.3.4)
- mariadb 3.4.7Fixed version · GitHub Advisories · npm package mariadb: upgrade to 3.4.7 or later (affected >= 3.4.0, < 3.4.7)
- mariadb 3.5.4Fixed version · GitHub Advisories · npm package mariadb: upgrade to 3.5.4 or later (affected >= 3.5.0-rc.0, < 3.5.4)
[ Advisories ]Government CERT advisories
-
BSI CERT-BundWID-SEC-2026-3838
MariaDB Connector/Node.js: Multiple vulnerabilities Translated from German
[ Packages ]Affected open-source packages
- mariadb npmAffected < 3.2.5 · fixed in 3.2.5 · GHSA-48qf-xh34-q73r
- mariadb npmAffected >= 3.3.0, < 3.3.4 · fixed in 3.3.4 · GHSA-48qf-xh34-q73r
- mariadb npmAffected >= 3.4.0, < 3.4.7 · fixed in 3.4.7 · GHSA-48qf-xh34-q73r
- mariadb npmAffected >= 3.5.0-rc.0, < 3.5.4 · fixed in 3.5.4 · GHSA-48qf-xh34-q73r
[ References ]References
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/2314c03b785db482599d2bef…
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/a4aa048b57dc47309b80e5cc…
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/b2ca628864b0fc2e3e94ea96…
- github.com/mariadb-corporation/mariadb-connector-nodejs/commit/faa27d1b2b7753a54000f586…
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.2.5
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.4
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.7
- github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4
- github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-48qf-x…
- jira.mariadb.org/browse/CONJS-367