PHP 8.4.x < 8.4.21 Multiple Vulnerabilities

critical Web App Scanning Plugin ID 115235

Synopsis

PHP 8.4.x < 8.4.21 Multiple Vulnerabilities

Description

According to its self-reported version number, the version of PHP installed on the remote host is 8.2.x prior to 8.2.31, 8.3.x prior to 8.3.31, 8.4.x prior to 8.4.21, or 8.5.x prior to 8.5.6. It is, therefore, affected by multiple vulnerabilities:

- Dom\XMLDocument::C14N() emits duplicate xmlns declarations after setAttributeNS(). (CVE-2026-7263)

- Cross-Site Scripting (XSS) within FPM status endpoint. (CVE-2026-6735)

- Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init(). (CVE-2026-7259)

- Out-of-bounds access in mbfl_name2encoding_ex(). (CVE-2026-6104)

- SQL injection via NUL bytes in quoted strings in PDO_Firebird. (CVE-2025-14179)

- Stale SOAP_GLOBAL(ref_map) pointer with Apache Map. (CVE-2026-6722)

- Use-after-free after header parsing failure with SOAP_PERSISTENCE_SESSION. (CVE-2026-7261)

- Broken Apache map value NULL check in SOAP. (CVE-2026-7262)

- Signed integer overflow of char array offset. (CVE-2026-7568)

- Inconsistent unsigned char usage with ctype.h functions. (CVE-2026-7258)

- Numeric truncation in uriparser text range comparison (uriparser before 1.0.1). (CVE-2026-42371)

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to PHP version 8.4.21 or later.

See Also

https://www.php.net/ChangeLog-8.php#8.4.21

Plugin Details

Severity: Critical

ID: 115235

Type: Version Based

Published: 5/20/2026

Updated: 5/20/2026

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2025-14179

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS Score Source: CVE-2025-14179

CVSS v4

Risk Factor: Critical

Base Score: 9.5

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS Score Source: CVE-2026-6722

Vulnerability Information

CPE: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 5/5/2026

Reference Information

CVE: CVE-2025-14179, CVE-2026-42371, CVE-2026-6104, CVE-2026-6722, CVE-2026-6735, CVE-2026-7258, CVE-2026-7259, CVE-2026-7261, CVE-2026-7262, CVE-2026-7263, CVE-2026-7568