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

Security update for php7

Published Jun 24, 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 14

ReleasePackageFixed in
SUSE · Enterprise Storage 7 php7 7.4.6-150200.3.41.1
openSUSE · Leap 15.3 php7 7.4.6-150200.3.41.1
openSUSE · Leap 15.3 php7-test 7.4.6-150200.3.41.1
openSUSE · Leap 15.4 php7 7.4.6-150200.3.41.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS php7 7.4.6-150200.3.41.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS php7 7.4.6-150200.3.41.1
SUSE · SLES 15 SP3 Linux Enterprise Module for Package Hub 15 SP3 php7 7.4.6-150200.3.41.1
SUSE · SLES 15 SP3 Linux Enterprise Module for Web and Scripting 15 SP3 php7 7.4.6-150200.3.41.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL php7 7.4.6-150200.3.41.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS php7 7.4.6-150200.3.41.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 php7 7.4.6-150200.3.41.1
SUSE · Manager Proxy 4.1 php7 7.4.6-150200.3.41.1
SUSE · Manager Retail Branch Server 4.1 php7 7.4.6-150200.3.41.1
SUSE · Manager Server 4.1 php7 7.4.6-150200.3.41.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