ALAS2023-2025-1352


Amazon Linux 2023 Security Advisory: ALAS2023-2025-1352
Advisory Released Date: 2026-01-07
Advisory Updated Date: 2026-01-07
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:

php8.4


Issue Correction:
Run dnf update php8.4 --releasever 2023.10.20260105 or dnf update --advisory ALAS2023-2025-1352 --releasever 2023.10.20260105 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    php8.4-fpm-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-pgsql-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-gd-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-process-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-cli-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-ffi-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-dbg-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-modphp-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-opcache-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-mysqlnd-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-embedded-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-cli-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-fpm-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-xml-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-mysqlnd-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-intl-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-modphp-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-devel-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-debugsource-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-mbstring-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-mbstring-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-dbg-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-pdo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-soap-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-embedded-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-xml-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-opcache-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-common-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-pdo-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-intl-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-common-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-pgsql-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-soap-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-odbc-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-ffi-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-process-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-zip-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-bcmath-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-gd-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-odbc-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-sodium-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-ldap-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-bcmath-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-sodium-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-dba-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-ldap-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-zip-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-gmp-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-tidy-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-snmp-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-enchant-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-snmp-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-tidy-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-dba-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-gmp-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-enchant-debuginfo-8.4.16-1.amzn2023.0.1.aarch64
    php8.4-8.4.16-1.amzn2023.0.1.aarch64

src:
    php8.4-8.4.16-1.amzn2023.0.1.src

x86_64:
    php8.4-cli-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-fpm-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-dbg-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-pgsql-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-opcache-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-common-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-intl-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-zip-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-soap-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-embedded-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-mysqlnd-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-mysqlnd-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-xml-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-opcache-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-mbstring-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-modphp-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-ffi-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-devel-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-pdo-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-debugsource-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-soap-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-gd-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-xml-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-dbg-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-mbstring-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-common-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-intl-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-fpm-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-embedded-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-cli-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-modphp-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-process-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-bcmath-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-pdo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-sodium-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-pgsql-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-odbc-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-ldap-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-snmp-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-tidy-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-dba-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-ffi-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-gmp-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-gd-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-odbc-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-process-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-sodium-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-zip-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-ldap-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-bcmath-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-enchant-debuginfo-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-tidy-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-dba-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-gmp-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-snmp-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-enchant-8.4.16-1.amzn2023.0.1.x86_64
    php8.4-8.4.16-1.amzn2023.0.1.x86_64