Skip to content
OpenAdvisories
Medium ALAS2023-2025-1352 3 CVEs

Moderate: php8.4 security update (Amazon Linux 2023)

Published Jan 7, 2026 · Updated Jan 7, 2026

Summary

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.

Fixed packages 58

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

Vulnerabilities 3

  • High 8.2

    NULL Pointer Dereference in PDO quoting

    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 sta…

  • Medium 6.5

    Heap buffer overflow in array_merge()

    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 a…

  • Medium 6.3
    CVE-2025-14177 Public exploit

    Information Leak of Memory in getimagesize

    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 …

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-14177.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-14178.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-14180.html