Packages

mysql2

3.24.6 · 13 Oct 2026MIT25.7M / weekRepositoryHomepagenpmAtom feed

Upgrading mysql2 From 3.6.4 to 3.24.6

73 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.6.4Clears its 7 advisories3.23.1
  1. 3.6.4yours
  2. 7 releases
  3. 3.9.3security
  4. 3.9.4security
  5. 2 releases
  6. 3.9.7security
  7. 8 releases
  8. 3.11.2breaking
  9. 18 releases
  10. 3.16.3breaking
  11. 3.17.0security
  12. 9 releases
  13. 3.19.1security
  14. 21 releases
  15. 3.24.6target
  16. 6 pre

Before you upgrade

Tick each one off as you go
  • Breaking3.16.3
  • Breaking3.11.2

Security

  • Bound null-terminated string read to packet end (fixes a potential OOB read reported by Doruk Tan Ozturk (peaktwilight))

    3.19.1
  • Handle malformed geometry payloads (fixes a potential DoS vulnerability reported by Doruk Tan Ozturk (peaktwilight))

    3.19.1
  • Prevent query param override of URL-defined connection options (fixes a potential config injection vulnerability reported by Doruk Tan Ozturk (peaktwilight))

    3.19.1
  • Validate buffer bounds in geometry parser (fixes a potential DoS vulnerability reported by Doruk Tan Ozturk (peaktwilight))

    3.19.1
  • security: resolve a potential SQL injection bypass through objects

    3.17.0
  • security: sanitize timezone parameter value to prevent code injection - report by zhaoyudi (Nebulalab)

    3.9.7
  • Fixes a potential RCE attack vulnerability reported by Vsevolod Kokorin (Slonser) of Solidlab

    3.9.4
  • Fixes a potential Prototype Pollution attack vulnerability reported by Vsevolod Kokorin (Slonser) of Solidlab

    3.9.4
  • Fixes a potential parser cache poisoning attack vulnerability reported by Vsevolod Kokorin (Slonser) of Solidlab

    3.9.3

Release by release

  1. 3.24.6

    13 Oct 20261 fix
    • Fixed

      Allocate a new LOCAL INFILE terminator packet per write (#4580) (8c068ef), closes #4568

  2. 3.24.5

    29 Sep 20261 fix
    • Fixed

      Strip the brackets from an IPv6 host in a connection URI

  3. 3.24.4

    8 Sep 20262 new
    • New

      per-query overhead, local dates, short strings, TLS context and compression

    • New

      Reuse TLS sessions across connections to the same server

  4. 3.24.3

    2 Sep 20261 fix
    • Fixed

      typings: PoolCluster node events emit a string nodeId

  5. 3.24.2

    24 Aug 20262 fixes
    • Fixed

      Correct length-coded number size for the 3-byte range

    • Fixed

      promise: honour trace: false on every promise-API method (#4502) (1dcd8ef), closes #4501

  6. 3.24.1

    24 Aug 20261 new
    • New

      single-pass utf8 string encoding for outgoing packets

  7. 3.24.0

    23 Aug 20263 new · 1 fix
    • New

      Typed parameters, and adopt integer types the server reports

    • New

      Remove per-query and per-row allocation hotspots

    • New

      Serialize COM_STMT_EXECUTE in a single exact-size pass

    • Fixed

      Zero dates come back as "undefined 00:00:00" with dateStrings

  8. 3.23.4

    20 Aug 20262 fixes
    • Fixed

      Keep leading zeros in TIME fractional seconds

    • Fixed

      typings: align callback Pool and PoolConnection types with runtime

4 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.