CVE-2025-1218

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.

Severity
LOW
CVSS v3
3.4
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N · source cna
Exploit chance (EPSS)
0.282%
chance of exploitation in the next 30 days
higher than 21% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2026-09-28

Timeline

  1. 2026-09-25Published by the CNA20:48 UTC
  2. 2026-09-28CISA SSVC decision recorded3 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
php phpfrom 8.2.0 before 8.2.34fixed in 8.2.34from 8.3.0 before 8.3.35fixed in 8.3.35from 8.4.0 before 8.4.26fixed in 8.4.26from 8.5.0 before 8.5.11fixed in 8.5.118.2.348.3.358.4.268.5.11

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources