{"id":"CVE-2026-107383","title":"MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases","summary":"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() allo…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-200"],"vendor":"mariadb","product":"mariadb","affected":["mariadb < 3.2.5","mariadb >= 3.3.0, < 3.3.4","mariadb >= 3.4.0, < 3.4.7","mariadb >= 3.5.0-rc.0, < 3.5.4"],"patched":["mariadb 3.2.5","mariadb 3.3.4","mariadb 3.4.7","mariadb 3.5.4"],"published":"2026-10-08","updated":"2026-10-08","sourceUpdated":"2026-10-08T20:25:00.647","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-107383","references":[{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/2314c03b785db482599d2befd06f4992e5fc46b3","label":"security-advisories@github.com"},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/a4aa048b57dc47309b80e5cc25a4a8eedb32fd9f","label":"security-advisories@github.com"},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/b2ca628864b0fc2e3e94ea96910f6b693ad5bd30","label":"security-advisories@github.com"},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/faa27d1b2b7753a54000f586d5148089b60d1284","label":"security-advisories@github.com"},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.2.5","label":"security-advisories@github.com"},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3.4","label":"security-advisories@github.com"},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4.7","label":"security-advisories@github.com"},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4","label":"security-advisories@github.com"},{"url":"https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-48qf-xh34-q73r","label":"security-advisories@github.com"},{"url":"https://jira.mariadb.org/browse/CONJS-367","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-48qf-xh34-q73r"}],"tags":["nvd","ghsa","npm"],"aliases":["GHSA-48qf-xh34-q73r"],"ecosystem":"npm","ingestedAt":"2026-10-08T20:06:22.185Z","slug":"CVE-2026-107383","body":"## Overview\n\nMariaDB 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-107383)\n\nAffected packages:\n\n- `mariadb < 3.2.5`\n- `mariadb >= 3.3.0, < 3.3.4`\n- `mariadb >= 3.4.0, < 3.4.7`\n- `mariadb >= 3.5.0-rc.0, < 3.5.4`\n\nPatched in:\n\n- `mariadb 3.2.5`\n- `mariadb 3.3.4`\n- `mariadb 3.4.7`\n- `mariadb 3.5.4`\n\nSource: https://github.com/advisories/GHSA-48qf-xh34-q73r","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}