Skip to content
OpenAdvisories
Medium RLSA-2022:6158 1 CVE

Moderate: php:7.4 security update

Published Aug 24, 2022 · Updated Feb 5, 2026

Summary

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.

Security Fix(es):

* php: uninitialized array in pg_query_params() leading to RCE (CVE-2022-31625)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Fixed packages 11

ReleasePackageFixed in
Rocky Linux · 8 libzip 0:1.6.1-1.module+el8.6.0+789+2130c178
Rocky Linux · 8 libzip 0:1.6.1-1.module+el8.4.0+415+e936cba3
Rocky Linux · 8 php 0:7.4.19-4.module+el8.6.0+1006+0d5a469f
Rocky Linux · 8 php-pear 1:1.10.12-1.module+el8.4.0+415+e936cba3
Rocky Linux · 8 php-pear 1:1.10.12-1.module+el8.6.0+789+2130c178
Rocky Linux · 8 php-pecl-apcu 0:5.1.18-1.module+el8.6.0+789+2130c178
Rocky Linux · 8 php-pecl-apcu 0:5.1.18-1.module+el8.4.0+415+e936cba3
Rocky Linux · 8 php-pecl-rrd 0:2.0.1-1.module+el8.4.0+414+2e7afcdd
Rocky Linux · 8 php-pecl-xdebug 0:2.9.5-1.module+el8.4.0+415+e936cba3
Rocky Linux · 8 php-pecl-zip 0:1.18.2-1.module+el8.6.0+789+2130c178
Rocky Linux · 8 php-pecl-zip 0:1.18.2-1.module+el8.4.0+415+e936cba3

Vulnerabilities 1

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

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2098521