CVE-2026-7262
Received Received - Intake
Segmentation Fault in PHP SOAP Server Due to NULL Pointer Dereference

Publication date: 2026-05-10

Last updated on: 2026-05-10

Assigner: PHP Group

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-10
Last Modified
2026-05-10
Generated
2026-06-19
AI Q&A
2026-05-10
EPSS Evaluated
2026-06-18
NVD
EUVD
Affected Vendors & Products
Showing 4 associated CPEs
Vendor Product Version / Range
php php to 8.2.31 (exc)
php php to 8.3.31 (exc)
php php to 8.4.21 (exc)
php php to 8.5.6 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-7262 is a vulnerability in PHP's SOAP extension that occurs when a SOAP server has a typemap configured. The issue arises in the decoding process of SOAP requests, specifically in the function that handles apache:Map nodes. The function incorrectly checks for a missing <key> node but fails to properly validate the <value> node. When the <value> node is missing, this leads to a NULL pointer dereference, causing a segmentation fault.

An attacker can exploit this by sending a specially crafted SOAP request with an apache:Map node missing the <value> element, which crashes the PHP SOAP server process.

Impact Analysis

This vulnerability allows a remote unauthenticated attacker to cause a denial-of-service (DoS) condition by crashing the PHP SOAP server process through a segmentation fault.

The impact is limited to system availability, meaning the server running the vulnerable PHP SOAP service can be made unavailable, potentially disrupting services that rely on it.

Detection Guidance

This vulnerability can be detected by monitoring for crashes or segmentation faults in PHP SOAP server processes, especially when typemap configuration is used.

Detection can also involve inspecting SOAP requests for specially crafted apache:Map nodes missing the <value> element, which trigger the vulnerability.

While no specific commands are provided in the resources, general approaches include:

  • Checking PHP version to confirm if it is before the patched versions (8.2.31, 8.3.31, 8.4.21, 8.5.6) using: php -v
  • Monitoring system logs or PHP error logs for segmentation faults related to the SOAP server.
  • Using network traffic analysis tools (e.g., tcpdump, Wireshark) to capture and analyze SOAP requests for malformed apache:Map nodes.
Mitigation Strategies

The immediate mitigation step is to upgrade PHP to a patched version where this vulnerability is fixed.

  • Upgrade PHP to version 8.2.31 or later, 8.3.31 or later, 8.4.21 or later, or 8.5.6 or later.

If upgrading immediately is not possible, consider disabling or restricting the use of the SOAP extension or typemap configuration to prevent exploitation.

Additionally, monitor the SOAP server for unusual crashes and apply network-level protections to limit access to the SOAP service.

Compliance Impact

This vulnerability allows a remote unauthenticated attacker to cause a denial-of-service (DoS) condition by crashing the PHP SOAP server process through a NULL pointer dereference. The impact is limited to system availability.

While the vulnerability affects system availability, there is no direct information provided about data confidentiality, integrity, or privacy breaches that would impact compliance with standards such as GDPR or HIPAA.

However, denial-of-service attacks can indirectly affect compliance by disrupting services that handle sensitive data, potentially violating availability requirements in these regulations.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-7262. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart