Skip to content
OpenAdvisories
High ALAS2-2026-3316 1 CVE

Important: php security update (Amazon Linux 2)

Published May 25, 2026 · Updated May 26, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-6722: 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.

Fixed packages 25

ReleasePackageFixed in
Amazon Linux · 2 php 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-bcmath 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-cli 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-common 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-dba 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-debuginfo 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-devel 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-embedded 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-enchant 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-fpm 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-gd 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-intl 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-ldap 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-mbstring 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-mysqlnd 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-odbc 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-pdo 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-pgsql 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-process 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-pspell 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-recode 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-snmp 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-soap 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-xml 0:5.4.16-46.amzn2.0.7
Amazon Linux · 2 php-xmlrpc 0:5.4.16-46.amzn2.0.7

Vulnerabilities 1

  • Critical 9.5

    Use-After-Free in SOAP using Apache map

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

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-6722.html