5.9

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

Analyzed
AliasesUBUNTU-CVE-2025-1218DEBIAN-CVE-2025-1218ALPINE-CVE-2025-1218
Published 25-09-2026Last modified 28-09-2026

Vulnerability summary

CVE-2025-1218 is a medium (CVSS 5.9) Heap-based Buffer Overflow vulnerability in php group php. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 27.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 3.4, adjacent network); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
0.33%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 13 · Related 8

Timeline

  1. 25-09-2026
    PublishedVulnerability first disclosed.
  2. 28-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.28% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Php Src

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: adjacent network, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu7 products
  • php5All versions (No fix recorded)
  • php7.0All versions (No fix recorded)
  • php7.2All versions (No fix recorded)
  • php7.4All versions (No fix recorded) | < 7.4.3-4ubuntu2.29+esm4
  • php8.1All versions (No fix recorded) | < 8.1.2-1ubuntu2.27
Alpine4 products
  • php82< 8.2.35-r0
  • php83< 8.3.36-r0 | < 8.3.35-r0
  • php84< 8.4.27-r0 | < 8.4.26-r0
  • php85< 8.5.12-r0 | < 8.5.11-r0
Debian2 products
  • php8.2< 8.2.34-1~deb12u1
  • php8.4< 8.4.26-1~deb13u1 | < 8.4.26-1
Php1 product
  • php≥ 8.2.0, < 8.2.34 | ≥ 8.3.0, < 8.3.35 | ≥ 8.4.0, < 8.4.26 | ≥ 8.5.0, < 8.5.11
Php group1 product
  • php≥ 8.2.*, < 8.2.34 | ≥ 8.3.*, < 8.3.35 | ≥ 8.4.*, < 8.4.26 | ≥ 8.5.*, < 8.5.11

5 vendors · 15 products

References

8 links