CVE-2026-7262: NULL pointer dereference in SOAP apache:Map decoder with missing <value>
Fixed (Broken Apache map value NULL check). (CVE-2026-7262)
Other sources
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 a SOAP server has a typemap configured, the decoding process contains a mistake which checks the wrong variable in case of missing value element. This leads to dereferences a NULL pointer, causing a segmentation fault. This allows a remote unauthenticated attacker to crash the PHP SOAP server process, resulting in denial of service.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.5.6 - Upgrade
Upgrade
debian/php7.4to a version that resolves this vulnerability.Fixed in 7.4.33-1+deb11u11 - Upgrade
Upgrade
debian/php8.2to a version that resolves this vulnerability.Fixed in 8.2.31-1~deb12u1 - Upgrade
Upgrade
debian/php8.4to a version that resolves this vulnerability.Fixed in 8.4.21-1~deb13u1Fixed in 8.4.21-1 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 8.2.31 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 8.3.31 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 8.4.21 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 8.5.6 - Compensating control
Mitigate the remote unauthenticated denial-of-service risk by restricting network access to the PHP SOAP service (e.g., via firewall/ACL) so only trusted clients can reach it.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-7262?
CVE-2026-7262 has a medium severity rating due to the potential for NULL pointer dereference leading to application crashes.
How do I fix CVE-2026-7262?
To fix CVE-2026-7262, upgrade your PHP installation to version 8.5.6 or higher.
Which PHP versions are affected by CVE-2026-7262?
CVE-2026-7262 affects 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.
What causes the vulnerability in CVE-2026-7262?
CVE-2026-7262 is caused by a missing NULL check in the SOAP Map decoder when processing a typemap.
Is CVE-2026-7262 specific to SOAP services in PHP?
Yes, CVE-2026-7262 specifically impacts SOAP services using a typemap configuration in affected PHP versions.