Skip to content
OpenAdvisories

Description

In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the SOAP extension's object deduplication mechanism stores pointers to PHP objects in a global map without incrementing their reference counts. When an apache:Map node contains duplicate keys, processing the second entry overwrites the first in the temporary result map, freeing the original PHP object while its stale pointer remains in the map. A subsequent href reference to the freed node can copy the dangling pointer into the result. As PHP string allocations can reclaim the freed memory region, an attacker with control over the SOAP request body can exploit this use-after-free to achieve remote code execution.

Affected products

VendorProductAffectedFixed
PHP Group PHP 8.2.* – < 8.2.31, 8.3.* – < 8.3.31, 8.4.* – < 8.4.21, 8.5.* – < 8.5.6 8.2.31

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 php8.4 8.4.21-1 —
Debian 13 php8.4 8.4.21-1~deb13u1 —
Debian 12 php8.2 8.2.31-1~deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS php8.5 8.5.4-0ubuntu1.1 —
Ubuntu 25.10 php8.4 8.4.11-1ubuntu1.2 —
Ubuntu 24.04 LTS php8.3 8.3.6-0ubuntu0.24.04.9 —
Ubuntu 22.04 LTS php8.1 8.1.2-1ubuntu2.24 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS php7.4 No fix yet —
Ubuntu Pro 18.04 LTS php7.2 No fix yet —
Ubuntu Pro 16.04 LTS php7.0 7.0.33-0ubuntu0.16.04.16+esm19 USN-8513-1
Ubuntu Pro 14.04 LTS php5 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 php +23 8.3.31-1.el10_2 RHSA-2026:23388
RHEL 10 php8.4 +23 8.4.21-1.el10_2 RHSA-2026:22649
RHEL 9 apcu-panel +2 5.1.23-1.module+el9.6.0+22647+1741ae35 RHSA-2026:22143, RHSA-2026:22142
RHEL 9 php +23 8.0.30-6.el9_8 RHSA-2026:33449, RHSA-2026:22143, RHSA-2026:22142
RHEL 9 php-pecl-redis6 6.1.0-2.module+el9.6.0+22647+1741ae35 RHSA-2026:22142
RHEL 9 php-pecl-rrd 2.0.3-4.module+el9.6.0+22647+1741ae35 RHSA-2026:22143, RHSA-2026:22142
RHEL 9 php-pecl-xdebug3 3.2.2-2.module+el9.7.0+24111+199d2cc4 RHSA-2026:22143, RHSA-2026:22142
RHEL 9 php-pecl-zip 1.22.3-1.module+el9.6.0+22647+1741ae35 RHSA-2026:22143, RHSA-2026:22142
RHEL 8 apcu-panel +2 5.1.18-1.module+el8.10.0+22485+a3539972 RHSA-2026:34354, RHSA-2026:22305
RHEL 8 libzip +2 1.6.1-1.module+el8.10.0+22485+a3539972 RHSA-2026:34354, RHSA-2026:22305
RHEL 8 php +25 7.4.33-4.module+el8.10.0+24352+91532d3e RHSA-2026:34354, RHSA-2026:22305
RHEL 8 php-pear 1:1.10.13-1.module+el8.10.0+22485+a3539972 RHSA-2026:34354, RHSA-2026:22305
RHEL 8 php-pecl-rrd 2.0.1-1.module+el8.10.0+22485+a3539972 RHSA-2026:34354, RHSA-2026:22305
RHEL 8 php-pecl-xdebug 2.9.5-1.module+el8.10.0+22485+a3539972 RHSA-2026:34354
RHEL 8 php-pecl-xdebug3 3.2.2-2.module+el8.10.0+20798+00eaeb41 RHSA-2026:22305
RHEL 8 php-pecl-zip 1.18.2-1.module+el8.10.0+22485+a3539972 RHSA-2026:34354, RHSA-2026:22305
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 php +26 8.5.9-1.hum1 RHSA-2026:47200

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 php +23 8.3.31-1.el10_2 ALSA-2026:23388
AlmaLinux 10 php8.4 +23 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 9 apcu-panel +2 5.1.23-1.module_el9.4.0+65+49ff6472 ALSA-2026:22143, ALSA-2026:22142
AlmaLinux 9 php +23 8.0.30-6.el9_8 ALSA-2026:33449, ALSA-2026:22143, ALSA-2026:22142
AlmaLinux 9 php-pecl-redis6 6.1.0-2.module_el9.6.0+151+5f31e576 ALSA-2026:22142
AlmaLinux 9 php-pecl-rrd 2.0.3-4.module_el9.4.0+65+49ff6472 ALSA-2026:22143, ALSA-2026:22142
AlmaLinux 9 php-pecl-xdebug3 3.2.2-2.module_el9.4.0+65+49ff6472 ALSA-2026:22143, ALSA-2026:22142
AlmaLinux 9 php-pecl-zip 1.22.3-1.module_el9.4.0+65+49ff6472 ALSA-2026:22143, ALSA-2026:22142
AlmaLinux 8 apcu-panel +2 5.1.18-1.module_el8.6.0+2750+78feabcb ALSA-2026:34354, ALSA-2026:22305
AlmaLinux 8 libzip +1 1.6.1-1.module_el8.6.0+2750+78feabcb ALSA-2026:34354, ALSA-2026:22305
AlmaLinux 8 libzip-devel 1.6.1-1.module_el8.6.0+3239+bedf0508 ALSA-2026:34354, ALSA-2026:22305
AlmaLinux 8 php +25 7.4.33-4.module_el8.10.0+4209+2ed16ff0 ALSA-2026:34354, ALSA-2026:22305
AlmaLinux 8 php-pear 1:1.10.13-1.module_el8.10.0+3935+28808425 ALSA-2026:34354, ALSA-2026:22305
AlmaLinux 8 php-pecl-rrd 2.0.1-1.module_el8.6.0+2750+78feabcb ALSA-2026:34354, ALSA-2026:22305
AlmaLinux 8 php-pecl-xdebug 2.9.5-1.module_el8.6.0+2750+78feabcb ALSA-2026:34354
AlmaLinux 8 php-pecl-xdebug3 3.2.2-2.module_el8.10.0+3796+30ed3ef7 ALSA-2026:22305
AlmaLinux 8 php-pecl-zip 1.18.2-1.module_el8.6.0+2750+78feabcb ALSA-2026:34354, ALSA-2026:22305

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 php 8.0.30-6.el9_8 RLSA-2026:33449
Rocky Linux 8 libzip 1.6.1-1.module+el8.10.0+1604+6558efc7 RLSA-2026:34354
Rocky Linux 8 php-pear 1:1.10.13-1.module+el8.10.0+1604+6558efc7 RLSA-2026:34354
Rocky Linux 8 php-pecl-apcu 5.1.18-1.module+el8.10.0+1604+6558efc7 RLSA-2026:34354
Rocky Linux 8 php-pecl-rrd 2.0.1-1.module+el8.4.0+414+2e7afcdd RLSA-2026:34354
Rocky Linux 8 php-pecl-xdebug 2.9.5-1.module+el8.10.0+1604+6558efc7 RLSA-2026:34354
Rocky Linux 8 php-pecl-zip 1.18.2-1.module+el8.10.0+1604+6558efc7 RLSA-2026:34354
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php8 8.5.6-1.1 openSUSE-SU-2026:10747-1
ReleasePackageFixed inAdvisory
Alpine v3.24 php83 8.3.31-r0 —
Alpine v3.24 php84 8.4.21-r0 —
Alpine v3.24 php85 8.5.6-r0 —
Alpine v3.23 php83 8.3.31-r0 —
Alpine v3.23 php84 8.4.21-r0 —
Alpine v3.23 php85 8.5.6-r0 —
Alpine v3.22 php82 8.2.31-r0 —
Alpine v3.22 php83 8.3.36-r0 —
Alpine v3.22 php84 8.4.27-r0 —
Alpine v3.19 php81 8.1.34-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 php8.2 +27 8.2.31-1.amzn2023.0.1 ALAS2023-2026-1727
Amazon Linux 2023 php8.3 +28 8.3.31-1.amzn2023.0.1 ALAS2023-2026-1728
Amazon Linux 2023 php8.4 +27 8.4.21-1.amzn2023.0.1 ALAS2023-2026-1726
Amazon Linux 2023 php8.5 +26 8.5.6-1.amzn2023.0.1 ALAS2023-2026-1733
Amazon Linux 2 php +23 5.4.16-46.amzn2.0.7 ALAS2-2026-3316

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 php 8.3.31-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 php +23 8.0.30-6.el9_8 ELSA-2026-33449
Oracle Linux 8 apcu-panel +2 5.1.18-1.module+el8.10.0+90472+f810484b ELSA-2026-34354
Oracle Linux 8 libzip +2 1.6.1-1.module+el8.10.0+90472+f810484b ELSA-2026-34354
Oracle Linux 8 php +25 7.4.33-4.module+el8.10.0+90942+d80f51f3 ELSA-2026-34354
Oracle Linux 8 php-pear 1:1.10.13-1.module+el8.10.0+90472+f810484b ELSA-2026-34354
Oracle Linux 8 php-pecl-rrd 2.0.1-1.module+el8.10.0+90472+f810484b ELSA-2026-34354
Oracle Linux 8 php-pecl-xdebug 2.9.5-1.module+el8.10.0+90472+f810484b ELSA-2026-34354
Oracle Linux 8 php-pecl-zip 1.18.2-1.module+el8.10.0+90472+f810484b ELSA-2026-34354

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling php-8.2 8.2.31-r0 —

Advisories 28

References