Stack-based Buffer Overflow Affecting php/php-src package, versions [,8.2.33)[8.3.0,8.3.33)[8.4.0,8.4.24)[8.5.0,8.5.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd 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 IDSNYK-UNMANAGED-PHPPHPSRC-21248788
  • published19 Oct 2026
  • disclosed30 Jul 2026
  • creditUnknown

Introduced: 30 Jul 2026

CVE-2026-7260  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade php/php-src to version 8.2.33, 8.3.33, 8.4.24, 8.5.9 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the phar process when handling circular symbolic links. An attacker can cause the process to crash by creating specially crafted phar archives that trigger unbounded recursion and exhaust the C stack.

References

CVSS Base Scores

version 4.0
version 3.1