CVE-2025-1218 Affecting php85 package, versions <8.5.12-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.36% (30th 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-ALPINE323-PHP85-21431083
  • published22 Oct 2026
  • disclosed25 Sept 2026

Introduced: 25 Sep 2026

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

How to fix?

Upgrade Alpine:3.23 php85 to version 8.5.12-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php85 package and not the php85 package as distributed by Alpine. See How to fix? for Alpine:3.23 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