ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-1354

Amazon Linux 2023 - ALAS2023-2025-1354: Medium priority package update for php8.2

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-14180: 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-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, 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-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, 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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023php8.2
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-bcmath
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-bcmath-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-cli
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-cli-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-common
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-common-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-dba
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-dba-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-dbg
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-dbg-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-debugsource
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-devel
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-embedded
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-embedded-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-enchant
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-enchant-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-ffi
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-ffi-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-fpm
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-fpm-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-gd
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-gd-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-gmp
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-gmp-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-intl
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-intl-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-ldap
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-ldap-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-mbstring
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-mbstring-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-mysqlnd
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-mysqlnd-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-odbc
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-odbc-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-opcache
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-opcache-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pdo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pdo-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pgsql
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pgsql-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-process
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-process-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pspell
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pspell-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-snmp
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-snmp-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-soap
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-soap-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-sodium
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-sodium-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-tidy
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-tidy-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-xml
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-xml-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-zip
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)
Amazon Linux:2023php8.2-zip-debuginfo
All versions before 8.2.30-1.amzn2023.0.1 (fixed in 8.2.30-1.amzn2023.0.1)

References