CVE-2025-14181
Integer overflow to buffer overflow in SOAP HTTP parsing
| Publication Date | 2026-09-25 |
|---|---|
| Severity | Moderate |
| Type | Remote Code Execution |
| Affected PHP Versions |
|
| Fixed Product Versions |
|
CVE Details
The SOAP HTTP client uses a signed integer overflow guard to limit response buffer growth. When the compiler optimizes away this check, a malicious SOAP server can cause the client to allocate a buffer that is far smaller than what it subsequently writes into, producing a heap buffer overflow that may allow arbitrary code execution in the PHP process.
Recommendations
Ensure you trust SOAP servers to which you connect. If you cannot guarantee they are not maintained by malicious actors, consider using a userland SOAP client such as phpro/soap-client, which operates without the PHP SOAP extension. Otherwise, update to a patched version of PHP.