ADVISORIES

Amazon Linux Security Advisory

ALAS2-2026-3316

Amazon Linux 2 2017.12 - ALAS2-2026-3316: important priority package update for php

Important CVE-2026-6722

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

EcosystemPackageAffected versions
Amazon Linux:2php
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-bcmath
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-cli
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-common
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-dba
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-debuginfo
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-devel
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-embedded
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-enchant
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-fpm
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-gd
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-intl
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-ldap
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-mbstring
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-mysqlnd
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-odbc
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-pdo
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-pgsql
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-process
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-pspell
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-recode
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-snmp
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-soap
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-xml
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)
Amazon Linux:2php-xmlrpc
All versions before 5.4.16-46.amzn2.0.7 (fixed in 5.4.16-46.amzn2.0.7)

References