Is mysql2 3.23 vulnerable?

npm · 5 releases from 3.23.0 to 3.23.4 · latest mysql2 is 3.24.6 · checked 1 Nov 2026

No known advisories in the last release

mysql2 3.23.4, the last 3.23 release, has no known advisories. 1 advisory affects earlier 3.23.x releases, so update to 3.23.4.

Update within 3.23:npm install mysql2@3.23.4

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 3.23.x, affecting earlier releases

  • MediumGHSA-rgwj-5xj2-c3m331 Aug 2026

    MySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoS

    Affected
    <3.23.1
    Fixed in
    3.23.1

Which of your client projects are still on mysql2 3.23?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact mysql2 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other mysql2 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.