# CVE-2024-21508

Versions of the package mysql2 before 3.9.4 are vulnerable to Remote Code Execution (RCE) via the readCodeFor function due to improper validation of the supportBigNumbers and bigNumberStrings values.

- CVSS: 9.8 CRITICAL
- EPSS: unknown
- In CISA KEV: no
- Published: 2024-04-11

Sources: NVD, OSV, CISA, FIRST. Last checked 20 Nov 2026.
