CVE-2025-1218 Affecting php82 package, versions <8.2.35-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-ALPINE322-PHP82-21430949
  • published22 Oct 2026
  • disclosed25 Sept 2026

Introduced: 25 Sep 2026

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

How to fix?

Upgrade Alpine:3.22 php82 to version 8.2.35-r0 or higher.

NVD Description

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