CVE-2025-1218 Affecting php8.5 package, versions <8.5.9-0ubuntu2


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.18% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2610-PHP85-21213410
  • published18 Oct 2026
  • disclosed25 Sept 2026

Introduced: 25 Sep 2026

NewCVE-2025-1218  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.10 php8.5 to version 8.5.9-0ubuntu2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php8.5 package and not the php8.5 package as distributed by Ubuntu. See How to fix? for Ubuntu:26.10 relevant fixed versions and status.

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 Base Scores

version 3.1