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

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

Published Jul 26, 2025 · Updated Aug 8, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-6491: If a SoapVar instance is created with a fully qualified name larger than 2G, this will cause a NULL pointer dereference resulting in a segmentation fault, leading to a denial of service. CVE-2025-1735: Missing error checking could result in SQL injection and missing error handling could lead to crashes due to null pointer dereferences. CVE-2025-1220: fsockopen() doesn't regard hostname as well, hostname is terminated at the null byte. This can cause Server Side Request Forgery in general case.

Fixed packages 56

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

Vulnerabilities 3

  • Medium 5.9

    pgsql extension does not check for errors during escaping

    In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* pgsql and pdo_pgsql escaping functions do not check if the underlying quoting functions returned errors. This could cause crashes if Postgres server rejects the string as inv…

  • Medium 5.9

    NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix

    In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 when parsing XML data in SOAP extensions, overly large (>2Gb) XML namespace prefix may lead to null pointer dereference. This may lead to crashes and affect the…

  • Low 3.7

    Null byte termination in hostnames

    In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 some functions like fsockopen() lack validation that the hostname supplied does not contain null characters. This may lead to other functions like parse_url() t…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-1220.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-1735.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-6491.html