2084AI Security Observatory

CVE

CVE-2025-1218

CVE-2025-1218MED 5.9EPSS 21%

CNA description

The mysqlnd wire protocol parser reads fields out of server packets before checking that the packet still holds enough bytes for them. A malicious or compromised MySQL server can send a truncated packet and make the client read past the end of the packet buffer, which is undefined behaviour and can crash the process.

Affected versions

All PHP vulnerabilities →

  • ≥ 8.5.0, < 8.5.11Fixed in 8.5.11
  • ≥ 8.4.0, < 8.4.26Fixed in 8.4.26
  • ≥ 8.3.0, < 8.3.35Fixed in 8.3.35
  • ≥ 8.2.0, < 8.2.34Fixed in 8.2.34

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.