CVE-2026-7262: PHP SOAP extension NULL pointer dereference in apache:Map decoder

CVE-2026-7262 · Severity: high · CVSS 7.5 · Published 2026-05-10

PHP is a widely used programming language for web development. A flaw in its SOAP extension, which handles web service communications, allows a remote attacker to crash the server by sending a specially crafted request. This results in a denial of service, potentially taking websites or applications offline.

Technologies: PHP Group PHP, Red Hat Enterprise Linux AppStream. Vendors: PHP Group, Red Hat.

Quick answers

Is CVE-2026-7262 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-7262 being exploited in the wild.
How severe is CVE-2026-7262?
High severity, with a CVSS score of 7.5, published 10 May 2026.
Which products and versions are affected?
PHP Group PHP 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, 8.5.* before 8.5.6, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30, 8.4.0 - 8.4.20, 8.5.0 - 8.5.5; Red Hat Enterprise Linux AppStream 8, 9, 10.
Is there a fix for CVE-2026-7262?
A patch was published on 2026-06-01: Red Hat released security updates for RHEL 9 (RHSA-2026:22142) Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-7262 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-7262?
Check whether you run PHP Group PHP or Red Hat Enterprise Linux AppStream at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A vulnerability exists in the `to_zval_map()` function within `ext/soap/php_encoding.c` of the PHP SOAP extension. When a SOAP server is configured with a typemap, the decoder incorrectly validates the `xmlKey` variable instead of `xmlValue` when processing the `<value>` branch of an `apache:Map` node. If a request contains an `apache:Map` node with a missing `<value>` element, the subsequent call to `master_to_zval_int()` attempts to access properties on a NULL pointer. This results in a segmentation fault and process crash. The issue is exploitable by a remote, unauthenticated attacker and has been patched in PHP versions 8.2.31, 8.3.31, 8.4.21, and 8.5.6.

Affected products

  • PHP Group PHP 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, 8.5.* before 8.5.6
  • Red Hat Red Hat Enterprise Linux AppStream 8, 9, 10

Timeline

  • 2026-05-07: advisory: PHP Group published security advisory GHSA-hmxp-6pc4-f3vv
  • 2026-05-10: disclosed: CVE-2026-7262 published to NVD
  • 2026-06-01: patched: Red Hat released security updates for RHEL 9 (RHSA-2026:22142)

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.