OESA-2026-2421 (CVE-2025-14179)
Vulnerability from osv_openeuler – Published: 2026-05-22 11:11 – Updated: 2026-08-06 11:11 – 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. The php package contains the module (often referred to as mod_php) which adds support for the PHP language to Apache HTTP Server.
Security Fix(es):
In PHP versions 8.2. before 8.2.31, 8.3. before 8.3.31, 8.4. before 8.4.21, and 8.5. before 8.5.6, the PDO Firebird driver improperly handles NUL bytes when preparing SQL queries. During token-by-token query construction, a string token containing a NUL byte is copied via strncat(), which stops at the NUL byte, dropping the closing quote and causing subsequent SQL tokens to be interpreted as part of the string. This allows SQL injection when attacker-controlled values are quoted via PDO::quote() and embedded in SQL statements.(CVE-2025-14179)
In PHP versions 8.2. before 8.2.31, 8.3. before 8.3.31, 8.4. before 8.4.21, 8.5. before 8.5.6, due to improper sanitation of user data, it allows an attacker to compose an URL, which will cause the target to execute arbitrary JavaScript code (XSS) on the target's machine when the target is viewing the PHP-FPM status page.(CVE-2026-6735)
In PHP versions 8.2. before 8.2.31, 8.3. before 8.3.31, 8.4. before 8.4.21, and 8.5. before 8.5.6, some functions, including urldecode(), pass signed char to ctype functions (like isxdigit()). On the systems with default signed char and optimized table-lookup ctype functions - such as NetBSD - this can lead to accessing array with negative offset, which can trigger a denial of service.(CVE-2026-7258)
In PHP versions 8.2. before 8.2.31, 8.3. before 8.3.31, 8.4. before 8.4.21, and 8.5. before 8.5.6, when SoapServer is configured with SOAP_PERSISTENCE_SESSION, the handler object is persisted across requests via session storage. However, in the case SOAP requests results in an error, the persistance is handled incorrectly, resulting in freeing the object while keeping a pointer to it, which may lead to use-after-free. This may lead to memory corruption, information disclosure, or process crashes, with confidentiality, integrity, and availability impact on the vulnerable system.(CVE-2026-7261)
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"php-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-bcmath-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-cli-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-common-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-dba-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-dbg-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-debuginfo-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-debugsource-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-devel-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-embedded-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-enchant-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-ffi-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-fpm-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-gd-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-gmp-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-intl-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-ldap-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-mbstring-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-mysqlnd-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-odbc-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-opcache-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-pdo-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-pgsql-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-process-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-snmp-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-soap-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-sodium-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-tidy-8.0.30-13.oe2203sp4.aarch64.rpm",
"php-xml-8.0.30-13.oe2203sp4.aarch64.rpm"
],
"noarch": [
"php-help-8.0.30-13.oe2203sp4.noarch.rpm"
],
"src": [
"php-8.0.30-13.oe2203sp4.src.rpm"
],
"x86_64": [
"php-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-bcmath-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-cli-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-common-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-dba-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-dbg-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-debuginfo-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-debugsource-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-devel-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-embedded-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-enchant-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-ffi-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-fpm-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-gd-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-gmp-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-intl-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-ldap-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-mbstring-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-mysqlnd-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-odbc-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-opcache-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-pdo-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-pgsql-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-process-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-snmp-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-soap-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-sodium-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-tidy-8.0.30-13.oe2203sp4.x86_64.rpm",
"php-xml-8.0.30-13.oe2203sp4.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS-SP4",
"name": "php",
"purl": "pkg:rpm/openEuler/php\u0026distro=openEuler-22.03-LTS-SP4"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.0.30-13.oe2203sp4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "Critical"
},
"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. The php package contains the module (often referred to as mod_php) which adds support for the PHP language to Apache HTTP Server.\r\n\r\nSecurity Fix(es):\n\nIn PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the PDO Firebird driver improperly handles NUL bytes when preparing SQL queries. During token-by-token query construction, a string token containing a NUL byte is copied via strncat(), which stops at the NUL byte, dropping the closing quote and causing subsequent SQL tokens to be interpreted as part of the string. This allows SQL injection when attacker-controlled values are quoted via PDO::quote() and embedded in SQL\u00a0statements.(CVE-2025-14179)\n\nIn PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, 8.5.* before 8.5.6, due to improper sanitation of user data, it\u00a0allows an attacker to compose an URL, which will cause the target to execute arbitrary JavaScript code (XSS) on the target\u0026apos;s machine when the target is viewing the\u00a0PHP-FPM status page.(CVE-2026-6735)\n\nIn PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, some functions, including urldecode(), pass signed char to ctype functions (like\u00a0isxdigit()). On the systems with default signed char and optimized table-lookup ctype functions - such as NetBSD - this can lead to accessing array with negative offset, which\u00a0can trigger a denial of service.(CVE-2026-7258)\n\nIn PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, when SoapServer is configured with SOAP_PERSISTENCE_SESSION, the handler object is persisted across requests via session storage. However, in the case SOAP requests results in an error, the persistance is handled incorrectly, resulting in freeing the object while keeping a pointer to it, which may lead to use-after-free. This may lead to memory corruption, information disclosure, or process crashes, with confidentiality, integrity, and availability impact on the vulnerable system.(CVE-2026-7261)",
"id": "OESA-2026-2421",
"modified": "2026-08-06T11:11:22Z",
"published": "2026-05-22T11:11:22Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-2421"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-14179"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6735"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-7258"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-7261"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "php security update",
"upstream": [
"CVE-2025-14179",
"CVE-2026-6735",
"CVE-2026-7258",
"CVE-2026-7261"
]
}
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.