OESA-2025-1888 (CVE-2025-1220)
Vulnerability from osv_openeuler – Published: 2025-07-25 11:08 – Updated: 2026-08-06 11:08 – Source websitePHP 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)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"php-8.3.23-1.oe2403.aarch64.rpm",
"php-bcmath-8.3.23-1.oe2403.aarch64.rpm",
"php-cli-8.3.23-1.oe2403.aarch64.rpm",
"php-common-8.3.23-1.oe2403.aarch64.rpm",
"php-dba-8.3.23-1.oe2403.aarch64.rpm",
"php-dbg-8.3.23-1.oe2403.aarch64.rpm",
"php-debuginfo-8.3.23-1.oe2403.aarch64.rpm",
"php-debugsource-8.3.23-1.oe2403.aarch64.rpm",
"php-devel-8.3.23-1.oe2403.aarch64.rpm",
"php-embedded-8.3.23-1.oe2403.aarch64.rpm",
"php-enchant-8.3.23-1.oe2403.aarch64.rpm",
"php-ffi-8.3.23-1.oe2403.aarch64.rpm",
"php-fpm-8.3.23-1.oe2403.aarch64.rpm",
"php-gd-8.3.23-1.oe2403.aarch64.rpm",
"php-gmp-8.3.23-1.oe2403.aarch64.rpm",
"php-intl-8.3.23-1.oe2403.aarch64.rpm",
"php-ldap-8.3.23-1.oe2403.aarch64.rpm",
"php-mbstring-8.3.23-1.oe2403.aarch64.rpm",
"php-mysqlnd-8.3.23-1.oe2403.aarch64.rpm",
"php-odbc-8.3.23-1.oe2403.aarch64.rpm",
"php-opcache-8.3.23-1.oe2403.aarch64.rpm",
"php-pdo-8.3.23-1.oe2403.aarch64.rpm",
"php-pgsql-8.3.23-1.oe2403.aarch64.rpm",
"php-process-8.3.23-1.oe2403.aarch64.rpm",
"php-snmp-8.3.23-1.oe2403.aarch64.rpm",
"php-soap-8.3.23-1.oe2403.aarch64.rpm",
"php-sodium-8.3.23-1.oe2403.aarch64.rpm",
"php-tidy-8.3.23-1.oe2403.aarch64.rpm",
"php-xml-8.3.23-1.oe2403.aarch64.rpm"
],
"noarch": [
"php-help-8.3.23-1.oe2403.noarch.rpm"
],
"src": [
"php-8.3.23-1.oe2403.src.rpm"
],
"x86_64": [
"php-8.3.23-1.oe2403.x86_64.rpm",
"php-bcmath-8.3.23-1.oe2403.x86_64.rpm",
"php-cli-8.3.23-1.oe2403.x86_64.rpm",
"php-common-8.3.23-1.oe2403.x86_64.rpm",
"php-dba-8.3.23-1.oe2403.x86_64.rpm",
"php-dbg-8.3.23-1.oe2403.x86_64.rpm",
"php-debuginfo-8.3.23-1.oe2403.x86_64.rpm",
"php-debugsource-8.3.23-1.oe2403.x86_64.rpm",
"php-devel-8.3.23-1.oe2403.x86_64.rpm",
"php-embedded-8.3.23-1.oe2403.x86_64.rpm",
"php-enchant-8.3.23-1.oe2403.x86_64.rpm",
"php-ffi-8.3.23-1.oe2403.x86_64.rpm",
"php-fpm-8.3.23-1.oe2403.x86_64.rpm",
"php-gd-8.3.23-1.oe2403.x86_64.rpm",
"php-gmp-8.3.23-1.oe2403.x86_64.rpm",
"php-intl-8.3.23-1.oe2403.x86_64.rpm",
"php-ldap-8.3.23-1.oe2403.x86_64.rpm",
"php-mbstring-8.3.23-1.oe2403.x86_64.rpm",
"php-mysqlnd-8.3.23-1.oe2403.x86_64.rpm",
"php-odbc-8.3.23-1.oe2403.x86_64.rpm",
"php-opcache-8.3.23-1.oe2403.x86_64.rpm",
"php-pdo-8.3.23-1.oe2403.x86_64.rpm",
"php-pgsql-8.3.23-1.oe2403.x86_64.rpm",
"php-process-8.3.23-1.oe2403.x86_64.rpm",
"php-snmp-8.3.23-1.oe2403.x86_64.rpm",
"php-soap-8.3.23-1.oe2403.x86_64.rpm",
"php-sodium-8.3.23-1.oe2403.x86_64.rpm",
"php-tidy-8.3.23-1.oe2403.x86_64.rpm",
"php-xml-8.3.23-1.oe2403.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:24.03-LTS",
"name": "php",
"purl": "pkg:rpm/openEuler/php\u0026distro=openEuler-24.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.3.23-1.oe2403"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "High"
},
"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\r\n\r\nSecurity Fix(es):\n\nIn 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)\n\nIn 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\u00a0could cause crashes if Postgres server rejects the string as invalid.(CVE-2025-1735)\n\nIn 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 (\u0026gt;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)",
"id": "OESA-2025-1888",
"modified": "2026-08-06T11:08:58Z",
"published": "2025-07-25T11:08:58Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1888"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-1220"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-1735"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-6491"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "php security update",
"upstream": [
"CVE-2025-1220",
"CVE-2025-1735",
"CVE-2025-6491"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.