Integer Overflow or Wraparound Affecting php package, versions [,8.2.34)[8.3.0RC1,8.3.35)[8.4.0RC1,8.4.26)[8.5.0RC1,8.5.11)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.34% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-20158667
  • published27 Sept 2026
  • disclosed25 Sept 2026
  • creditUnknown

Introduced: 25 Sep 2026

NewCVE-2025-14181  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade php to version 8.2.34, 8.3.35, 8.4.26, 8.5.11 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound leading to a heap buffer overflow in get_http_body() in ext/soap/php_http.c, where the bounds check on the accumulated response size is expressed in terms of signed integer overflow, which is undefined behavior that a compiler may remove entirely. An attacker can corrupt heap memory or crash the process by answering a SOAP request with a multi-gigabyte response whose length drives the size computation past INT_MAX, so the allocated buffer is smaller than the data subsequently written into it. This requires the application to act as a SOAP client against a server the attacker controls, a deployment willing to accept responses of that size, and a build whose compiler discarded the check, and the outcome depends on heap layout.

Workaround

This vulnerability can be avoided by setting a low memory_limit, which causes the allocation to fail with an out of memory error before the overflow is reached.

CVSS Base Scores

version 4.0
version 3.1