ALAS2PHP8.2-2026-009


Amazon Linux 2 (EOS) Security Advisory: ALAS2PHP8.2-2026-009
Advisory Released Date: 2026-01-22
Advisory Updated Date: 2026-01-22
Severity: Medium

Issue Overview:

In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1, the getimagesize() function may leak uninitialized heap memory into the APPn segments (e.g., APP1) when reading images in multi-chunk mode (such as via php://filter). This occurs due to a bug in php_read_stream_all_chunks() that overwrites the buffer without advancing the pointer, leaving tail bytes uninitialized. This may lead to information disclosure of sensitive heap data and affect the confidentiality of the target server. (CVE-2025-14177)

In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1, a heap buffer overflow occurs in array_merge() when the total element count of packed arrays exceeds 32-bit limits or HT_MAX_SIZE, due to an integer overflow in the precomputation of element counts using zend_hash_num_elements(). This may lead to memory corruption or crashes and affect the integrity and availability of the target server. (CVE-2025-14178)

In PHP versions 8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1 when using the PDO PostgreSQL driver with PDO::ATTR_EMULATE_PREPARES enabled, an invalid character sequence (such as \x99) in a prepared statement parameter may cause the quoting function PQescapeStringConn to return NULL, leading to a null pointer dereference in pdo_parse_params() function. This may lead to crashes (segmentation fault) and affect the availability of the target server. (CVE-2025-14180)


Affected Packages:

php


Note:

This advisory is applicable to Amazon Linux 2 - Php8.2 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update php or yum update --advisory ALAS2PHP8.2-2026-009 to update your system.

New Packages:
aarch64:
    php-8.2.30-1.amzn2.0.1.aarch64
    php-cli-8.2.30-1.amzn2.0.1.aarch64
    php-dbg-8.2.30-1.amzn2.0.1.aarch64
    php-fpm-8.2.30-1.amzn2.0.1.aarch64
    php-common-8.2.30-1.amzn2.0.1.aarch64
    php-devel-8.2.30-1.amzn2.0.1.aarch64
    php-opcache-8.2.30-1.amzn2.0.1.aarch64
    php-ldap-8.2.30-1.amzn2.0.1.aarch64
    php-pdo-8.2.30-1.amzn2.0.1.aarch64
    php-mysqlnd-8.2.30-1.amzn2.0.1.aarch64
    php-pgsql-8.2.30-1.amzn2.0.1.aarch64
    php-process-8.2.30-1.amzn2.0.1.aarch64
    php-odbc-8.2.30-1.amzn2.0.1.aarch64
    php-soap-8.2.30-1.amzn2.0.1.aarch64
    php-snmp-8.2.30-1.amzn2.0.1.aarch64
    php-xml-8.2.30-1.amzn2.0.1.aarch64
    php-mbstring-8.2.30-1.amzn2.0.1.aarch64
    php-gd-8.2.30-1.amzn2.0.1.aarch64
    php-bcmath-8.2.30-1.amzn2.0.1.aarch64
    php-gmp-8.2.30-1.amzn2.0.1.aarch64
    php-dba-8.2.30-1.amzn2.0.1.aarch64
    php-embedded-8.2.30-1.amzn2.0.1.aarch64
    php-pspell-8.2.30-1.amzn2.0.1.aarch64
    php-intl-8.2.30-1.amzn2.0.1.aarch64
    php-enchant-8.2.30-1.amzn2.0.1.aarch64
    php-sodium-8.2.30-1.amzn2.0.1.aarch64
    php-debuginfo-8.2.30-1.amzn2.0.1.aarch64

src:
    php-8.2.30-1.amzn2.0.1.src

x86_64:
    php-8.2.30-1.amzn2.0.1.x86_64
    php-cli-8.2.30-1.amzn2.0.1.x86_64
    php-dbg-8.2.30-1.amzn2.0.1.x86_64
    php-fpm-8.2.30-1.amzn2.0.1.x86_64
    php-common-8.2.30-1.amzn2.0.1.x86_64
    php-devel-8.2.30-1.amzn2.0.1.x86_64
    php-opcache-8.2.30-1.amzn2.0.1.x86_64
    php-ldap-8.2.30-1.amzn2.0.1.x86_64
    php-pdo-8.2.30-1.amzn2.0.1.x86_64
    php-mysqlnd-8.2.30-1.amzn2.0.1.x86_64
    php-pgsql-8.2.30-1.amzn2.0.1.x86_64
    php-process-8.2.30-1.amzn2.0.1.x86_64
    php-odbc-8.2.30-1.amzn2.0.1.x86_64
    php-soap-8.2.30-1.amzn2.0.1.x86_64
    php-snmp-8.2.30-1.amzn2.0.1.x86_64
    php-xml-8.2.30-1.amzn2.0.1.x86_64
    php-mbstring-8.2.30-1.amzn2.0.1.x86_64
    php-gd-8.2.30-1.amzn2.0.1.x86_64
    php-bcmath-8.2.30-1.amzn2.0.1.x86_64
    php-gmp-8.2.30-1.amzn2.0.1.x86_64
    php-dba-8.2.30-1.amzn2.0.1.x86_64
    php-embedded-8.2.30-1.amzn2.0.1.x86_64
    php-pspell-8.2.30-1.amzn2.0.1.x86_64
    php-intl-8.2.30-1.amzn2.0.1.x86_64
    php-enchant-8.2.30-1.amzn2.0.1.x86_64
    php-sodium-8.2.30-1.amzn2.0.1.x86_64
    php-debuginfo-8.2.30-1.amzn2.0.1.x86_64