Live threats

All CVEs / Php

CVE-2022-31626Php

High 8.8

Priority
54
CVSS 3.1
8.8
EPSS
7.0%
probability of exploitation in 30 days · percentile 95
Auth required
Yes
Published
Jun 16, 2022
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-120
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote code execution vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.

Affected products (CPE)

VendorProductVersions
phpphp≥ 7.4.0 < 7.4.30
phpphp≥ 8.0.0 < 8.0.20
phpphp≥ 8.1.0 < 8.1.7
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.