OESA-2025-1889

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-1889
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-1889.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2025-1889
Upstream
Published
2025-07-25T13:16:37Z
Modified
2025-08-12T05:48:52.946987Z
Summary
php security update
Details

PHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated web pages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts. %if 1 The php package contains the module (often referred to as mod_php) which adds support for the PHP language to Apache HTTP Server when running in prefork mode. This module is deprecated. %endif

Security Fix(es):

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() treat the hostname in different way, thus opening way to security problems if the user code implements access checks before access using such functions.(CVE-2025-1220)

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 invalid.(CVE-2025-1735)

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 availability of the target server.(CVE-2025-6491)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:24.03-LTS-SP1 / php

Package

Name
php
Purl
pkg:rpm/openEuler/php&distro=openEuler-24.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.3.23-1.oe2403sp1

Ecosystem specific

{
    "aarch64": [
        "php-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-bcmath-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-cli-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-common-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-dba-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-dbg-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-debuginfo-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-debugsource-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-devel-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-embedded-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-enchant-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-ffi-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-fpm-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-gd-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-gmp-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-intl-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-ldap-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-mbstring-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-mysqlnd-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-odbc-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-opcache-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-pdo-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-pgsql-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-process-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-snmp-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-soap-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-sodium-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-tidy-8.3.23-1.oe2403sp1.aarch64.rpm",
        "php-xml-8.3.23-1.oe2403sp1.aarch64.rpm"
    ],
    "src": [
        "php-8.3.23-1.oe2403sp1.src.rpm"
    ],
    "noarch": [
        "php-help-8.3.23-1.oe2403sp1.noarch.rpm"
    ],
    "x86_64": [
        "php-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-bcmath-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-cli-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-common-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-dba-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-dbg-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-debuginfo-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-debugsource-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-devel-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-embedded-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-enchant-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-ffi-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-fpm-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-gd-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-gmp-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-intl-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-ldap-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-mbstring-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-mysqlnd-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-odbc-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-opcache-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-pdo-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-pgsql-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-process-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-snmp-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-soap-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-sodium-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-tidy-8.3.23-1.oe2403sp1.x86_64.rpm",
        "php-xml-8.3.23-1.oe2403sp1.x86_64.rpm"
    ]
}