Amazon Linux Security Advisory
ALAS2-2026-3316
Amazon Linux 2 2017.12 - ALAS2-2026-3316: important priority package update for php
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | php | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-bcmath | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-cli | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-common | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-dba | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-debuginfo | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-devel | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-embedded | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-enchant | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-fpm | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-gd | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-intl | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-ldap | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-mbstring | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-mysqlnd | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-odbc | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-pdo | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-pgsql | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-process | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-pspell | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-recode | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-snmp | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-soap | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-xml | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |
| Amazon Linux:2 | php-xmlrpc | All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7) |