VulnWatch by ve1ve2
medium 6.3 EPSS 0.84%

GHSA-q23r-hr55-xmpg / CVE-2026-15353: SOAP information disclosure through malformed array dimensions

Source:
PHP releases (GitHub php/php-src tags)
Published:
Fetched:
Updated:
Affects:
php ext-soap

https://github.com/php/php-src/security/advisories/GHSA-q23r-hr55-xmpg ↗

repo-advisoryphpCWE-125CWE-908securityrepo:php/php-src

SOAP information disclosure through malformed array dimensions ### Summary PHP's SOAP extension can expose a small amount of uninitialized heap memory when processing an encoded array with an invalid `arraySize` value. An attacker can supply a crafted SOAP request or response that causes the decoded array to contain an unexpected integer key. The value reaches the attacker if the application returns or otherwise exposes that array. ### Details An empty, whitespace-only or non-numeric `arraySize` can describe no dimensions. PHP nevertheless reads the first array position, which has not been initialized. With PHP's default memory allocator, the read falls within a small allocated block and can return four bytes of unrelated heap data. That value is then used as an array key. When the default allocator is disabled, AddressSanitizer reports an out-of-bounds heap read. The fix treats a size containing no dimensions as a one-dimensional array. It also covers array dimensions read from WSDL definitions. The vulnerable behaviour is present in all supported PHP branches. ### Impact An unauthenticated client can trigger the issue through a SOAP endpoint that accepts the crafted input. A malicious or compromised SOAP server can also supply an affected response to `SoapClient`. The demonstrated impact is limited information disclosure when the application exposes the decoded array. Simply accepting the request does not guarantee that the value is returned to the attacker. The demonstrated case does not crash or corrupt memory with PHP's default allocator. Arbitrary code execution has not been demonstrated. ### Affected versions The affected code has been present since PHP 5.0.0. This is based on code inspection. ### Mitigation Upgrade to the fixed release for your PHP branch when it becomes available. Until then, restrict access to affected SOAP endpoints and use trusted SOAP services and WSDL definitions. Where requests or responses can be validated before they reach the SOAP extension, reject encoded arrays whose `arraySize` contains no valid dimension. Avoid returning unvalidated decoded arrays to untrusted clients. These measures reduce exposure but do not replace the parser fix. Affected packages: php:ext-soap Patched: ext-soap 8.2.36, ext-soap 8.3.37, ext-soap 8.4.28, ext-soap 8.5.13

Linked vulnerabilities (2)

CVE-2026-15353 medium 6.3 EPSS 0.84% (p59) NVDCVE.orgGHSA
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

SOAP information disclosure through malformed array dimensions. The SOAP extension reads an uninitialized array position when decoding an encoded array whose arraySize attribute is empty, whitespace-only or non-numeric, or when such dimensions come from a WSDL definition. Four bytes of unrelated heap data can then be used as an integer key in the decoded array. An unauthenticated remote client can trigger this with a crafted request to a SoapServer endpoint, and a malicious SOAP server with a response to SoapClient. Heap memory is disclosed only if the application returns or otherwise...

CWE: CWE-125, CWE-908Aliases: CVE-2026-115560, CVE-2026-126714, CVE-2026-127960, CVE-2026-128064, CVE-2026-128090, CVE-2026-129289, CVE-2026-129291, CVE-2026-129292, CVE-2026-129496, CVE-2026-129506, CVE-2026-129538, GHSA-q23r-hr55-xmpg, CVE-2026-129481, CVE-2026-129501NVD: Awaiting Analysis
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

SOAP information disclosure through malformed array dimensions

CWE: CWE-125, CWE-908Aliases: CVE-2026-15353