mysql2
3.24.6 · 13 Oct 2026MIT25.7M / weekRepositoryHomepagenpmAtom feed
3.24.6 is the newest release of 3.x.
In short
4 security
- Security
Bound
null-terminated string read to packet end (fixes a potential OOB read reported by Doruk Tan Ozturk (peaktwilight)) - Security
Handle malformed geometry payloads (fixes a potential DoS vulnerability reported by Doruk Tan Ozturk (peaktwilight))
- Security
Prevent query param override of
URL-defined connection options (fixes a potential config injection vulnerability reported by Doruk Tan Ozturk (peaktwilight)) - Security
Validate buffer bounds in geometry parser (fixes a potential DoS vulnerability reported by Doruk Tan Ozturk (peaktwilight))
Security
2 advisories affect 3.19.1; 3.23.1 fixes them
- HighMySQL2: Auth Plugin Downgrade to mysql_clear_password Leaks Plaintext CredentialsGHSA-3f6p-5ww8-9rcr · 1 Sep 2026Fixed in 3.22.0
- ModerateMySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoSGHSA-rgwj-5xj2-c3m3 · 31 Aug 2026Fixed in 3.23.1
Release note
Security Bug Fixes
- Security
Bound
null-terminated string read to packet end (fixes a potential OOB read reported by Doruk Tan Ozturk (peaktwilight)) - Security
Handle malformed geometry payloads (fixes a potential DoS vulnerability reported by Doruk Tan Ozturk (peaktwilight))
- Security
Prevent query param override of
URL-defined connection options (fixes a potential config injection vulnerability reported by Doruk Tan Ozturk (peaktwilight)) - Security
Validate buffer bounds in geometry parser (fixes a potential DoS vulnerability reported by Doruk Tan Ozturk (peaktwilight))
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.