VDB

CVE-2025-1218

CVE-2025-1218 PUBLISHED CVSS 3.4 LOW

Various packet overreads in mysqlnd_writeprotocol.c

Reported by php · Published September 25, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php8.2-intlAmazon Linux8.2.34-1.amzn2023.0.1
php8.3-gdAmazon Linux8.3.35-1.amzn2023.0.1
php-snmp-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64
php8.2-processAmazon Linux8.2.34-1.amzn2023.0.1
php8.3-fpmAmazon Linux8.3.35-1.amzn2023.0.1
php8.4-mysqlndAmazon Linux8.4.26-1.amzn2023.0.1
php-mysqlnderrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64
phpBitnami8.5.11, 8.4.26, 8.3.35, 8.2.34
php-embedded-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64
php8.4-gdAmazon Linux8.4.26-1.amzn2023.0.1
php8.2-dbgAmazon Linux8.2.34-1.amzn2023.0.1
php8.4-snmpAmazon Linux8.4.26-1.amzn2023.0.1

79 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
3.4
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected products

VendorProductVersions
PHP GroupPHP8.2.*, 8.3.*, 8.4.*
amazon:2023php8.2-intl0
amazon:2023php8.3-gd0
amazon:2023php8.2-process0
amazon:2023php8.3-fpm0
amazon:2023php8.4-mysqlnd0
amazon:2023php8.4-gd0
amazon:2023php8.2-dbg0
amazon:2023php8.4-snmp0
amazon:2023php8.40
amazon:2023php8.3-tidy0
amazon:2023php8.2-snmp0
amazon:2023php8.2-mysqlnd0
amazon:2023php8.4-dbg0
amazon:2023php8.3-pspell0
amazon:2023php8.4-intl0
amazon:2023php8.3-zip0
amazon:2023php8.3-snmp0
amazon:2023php8.2-odbc0
amazon:2023php8.4-pdo0

…and 102 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (12 in total, the first dated here)
  • Oct 21, 2026 Distribution Patch (2 in total, the first dated here)
  • Oct 21, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-1218
vulnetix vdb fixes CVE-2025-1218

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-1218/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • vendor-advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›