VulnWatch by ve1ve2
high 7.5 EPSS 0.78%

GHSA-hmxp-6pc4-f3vv / CVE-2026-7262: NULL pointer dereference in SOAP apache:Map decoder with missing <value>

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

https://github.com/php/php-src/security/advisories/GHSA-hmxp-6pc4-f3vv ↗

repo-advisoryphpsecurityrepo:php/php-srcstack

NULL pointer dereference in SOAP apache:Map decoder with missing `to_zval_map()` in `ext/soap/php_encoding.c` decodes `apache:Map` nodes. The `` branch correctly guards against missing keys, but the `` branch rechecks `xmlKey` instead of `xmlValue`: https://github.com/php/php-src/blob/0d9ff00394d9447992bb66ccb1cef3edf70576bd/ext/soap/php_encoding.c#L2780-L2788 In addition, `master_to_zval_int()` accesses `data->properties` without a `NULL` check, where `data` corresponds to the missing `` node. This branch is reachable when `SOAP_GLOBAL(typemap)` is set, i.e. when the SOAP server has a typemap configured. By embedding an `apache:Map` node with a missing `` node into the request, the process will segfault with a `NULL` pointer dereference violation. Under the described circumstances, DoS becomes trivial with the following example: ```php $request = << foo XML; $server = new SoapServer(null, [ 'uri' => 'urn:test', 'typemap' => [['type_name' => 'anything']], ]); $server->addFunction('test'); function test($m) {} $server->handle($request); ``` Affected packages: php:ext-soap Patched: ext-soap 8.2.31, ext-soap 8.3.31, ext-soap 8.4.21, ext-soap 8.5.6

Linked vulnerabilities (2)

CVE-2026-7262 high 7.5 EPSS 0.78% (p57) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

php8.2 - security update

Aliases: CVE-2025-14179, CVE-2026-6722, CVE-2026-6735, CVE-2026-7258, CVE-2026-7259, CVE-2026-7261, CVE-2026-7568, CVE-2026-12184, CVE-2026-6104, CVE-2026-7263, GHSA-hmxp-6pc4-f3vv
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

NULL pointer dereference in SOAP apache:Map decoder with missing <value>

Aliases: CVE-2026-7262