Skip to content
OpenAdvisories
High SUSE-SU-2022:2303-1 3 CVEs

Security update for php8

Published Jul 6, 2022 · Updated Feb 4, 2026

Summary

This update for php8 fixes the following issues:

- CVE-2021-21707: Fixed a special character that breaks path in xml parsing. (bsc#1193041)
- 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 12

ReleasePackageFixed in
openSUSE · Leap 15.4 apache2-mod_php8 8.0.10-150400.4.8.1
openSUSE · Leap 15.4 php8 8.0.10-150400.4.8.1
openSUSE · Leap 15.4 php8-embed 8.0.10-150400.4.8.1
openSUSE · Leap 15.4 php8-fastcgi 8.0.10-150400.4.8.1
openSUSE · Leap 15.4 php8-fpm 8.0.10-150400.4.8.1
openSUSE · Leap 15.4 php8-test 8.0.10-150400.4.8.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 apache2-mod_php8 8.0.10-150400.4.8.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8 8.0.10-150400.4.8.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8-embed 8.0.10-150400.4.8.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8-fastcgi 8.0.10-150400.4.8.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8-fpm 8.0.10-150400.4.8.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8-test 8.0.10-150400.4.8.1

Vulnerabilities 3

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

  • Medium 5.3
    CVE-2021-21707 Public exploit EPSS 25%

    Special characters break path parsing in XML functions

    In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function …

References

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