Skip to content
OpenAdvisories
Critical SUSE-SU-2023:0074-1 1 CVE

Security update for php8

Published Jan 11, 2023 · Updated May 2, 2025

Summary

This update for php8 fixes the following issues:

- Updated to version 8.0.27:
- CVE-2022-31631: Fixed an issue where PDO::quote would return an
unquoted string (bsc#1206958).

Non-security fixes:
- Fixed a NULL pointer dereference with -w/-s options.
- Fixed a crash in Generator when interrupted during argument
evaluation with extra named params.
- Fixed a crash in Generator when memory limit was exceeded during
initialization.
- Fixed a memory leak in Generator when interrupted during argument
evaluation.
- Fixed an issue in the DateTimeZone constructor where an extra null
byte could be added to the input.
- Fixed a hang in SaltStack when using php-fpm 8.1.11.
- Fixed mysqli_query warnings being shown despite using silenced
error mode.
- Fixed a NULL pointer dereference when serializing a SOAP response
call.

Fixed packages 12

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

Vulnerabilities 1

  • Critical 9.1

    PDO::quote() may return unquoted string

    In PHP versions 8.0.* before 8.0.27, 8.1.* before 8.1.15, 8.2.* before 8.2.2 when using PDO::quote() function to quote user-supplied data for SQLite, supplying an overly long string may cause the driver to incorrectly quote the data, which may further lead to…

References

  • report
    https://bugzilla.suse.com/1206958
  • web
    https://www.suse.com/security/cve/CVE-2022-31631