CVE-2025-1218
3.4
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| PHP Group | PHP | 8.2.* < 8.2.34 | affected |
| PHP Group | PHP | 8.3.* < 8.3.35 | affected |
| PHP Group | PHP | 8.4.* < 8.4.26 | affected |
| PHP Group | PHP | 8.5.* < 8.5.11 | affected |
Weaknesses
- CWE-122: CWE-122 Heap-based buffer overflow
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.