Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-1218— Various packet overreads in mysqlnd_writeprotocol.c

Quick assessment

Affected
PHP Group PHP
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MySQL 网络协议解析器在检查数据包中是否仍包含足够的字节之前,会先从中读取字段。恶意的或被攻陷的 MySQL 服务器可以发送一个截断的数据包,使得客户端读取超出数据包缓冲区的末尾,从而导致未定义行为,并可能引发进程崩溃。

CVSS 3.4 · Low EPSS 0.18% · P7

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-1218

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Various packet overreads in mysqlnd_writeprotocol.c
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHP Group PHP 8.2.* ~ 8.2.34 -

II. Public POCs for CVE-2025-1218

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-1218

请登录查看更多情报信息。

Other References for CVE-2025-1218 (1)

Same Patch Batch · PHP Group · 2026-09-25 · 11 CVEs total

CVE-2026-91765 7.5 HIGH SOAP: Unbounded Recursion in Server-Side cleanup_xml_node
CVE-2026-17545 6.9 MEDIUM PHP on Windows: Reserved Device Names Are Not Rejected Before File/Stream I/O which can ca
CVE-2026-91767 6.5 MEDIUM Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard
CVE-2026-91768 6.5 MEDIUM IPv6 ACL bypass in FastCGI listen.allowed_clients due to partial address comparison (memcm
CVE-2025-14181 6.5 MEDIUM Integer overflow to buffer overflow in soap HTTP parsing
CVE-2026-92842 5.9 MEDIUM OOB read / info leak in convert.* stream filters when line-break-chars contains NUL
CVE-2026-91766 5.9 MEDIUM Cross-origin credential leak in HTTP stream wrapper redirects
CVE-2026-93682 5.8 MEDIUM Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Loca
CVE-2026-6103 4.3 MEDIUM Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection
CVE-2026-91769 4.3 MEDIUM TLS Hostname Verification Falls Back to CN After SAN Mismatch

IV. Related Vulnerabilities

V. Comments for CVE-2025-1218

No comments yet


Leave a comment