Skip to content
OpenAdvisories
High SUSE-SU-2022:2275-1 2 CVEs

Security update for php7

Published Jul 5, 2022 · Updated Feb 4, 2026

Summary

This update for php7 fixes the following issues:

- CVE-2022-31625: Fixed uninitialized pointers free in Postgres extension. (bsc#1200645)
- CVE-2022-31626: Fixed buffer overflow via user-supplied password when using pdo_mysql extension with mysqlnd driver. (bsc#1200628).

Fixed packages 11

ReleasePackageFixed in
SUSE · Enterprise Storage 6 php7 7.2.5-150000.4.95.1
openSUSE · Leap 15.4 php7 7.2.5-150000.4.95.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-ESPOS php7 7.2.5-150000.4.95.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS php7 7.2.5-150000.4.95.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-ESPOS php7 7.2.5-150000.4.95.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-LTSS php7 7.2.5-150000.4.95.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-BCL php7 7.2.5-150000.4.95.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS php7 7.2.5-150000.4.95.1
SUSE · SLES 15 Linux Enterprise Server 15-LTSS php7 7.2.5-150000.4.95.1
SUSE · SLES for SAP 15 Linux Enterprise Server for SAP Applications 15 php7 7.2.5-150000.4.95.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 php7 7.2.5-150000.4.95.1

Vulnerabilities 2

  • High 8.1

    Freeing unallocated memory in php_pgsql_free_params()

    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 using Postgres database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to free memory using uninitialized data as pointers. This …

  • High 7.5
    CVE-2022-31626 Public exploit EPSS 58%

    mysqlnd/pdo password buffer overflow

    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 trigg…

References

  • report
    https://bugzilla.suse.com/1200628
  • report
    https://bugzilla.suse.com/1200645
  • web
    https://www.suse.com/security/cve/CVE-2022-31625
  • web
    https://www.suse.com/security/cve/CVE-2022-31626