Partial String Comparison Affecting php package, versions [,8.2.34)[8.3.0-alpha1,8.3.35)[8.4.0-alpha1,8.4.26)[8.5.0-alpha1,8.5.11)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (32nd 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-PHP-22756765
  • published23 Nov 2026
  • disclosed28 Sept 2026
  • creditl8BL, OSTIF-Derek, iliaal

Introduced: 28 Sep 2026

CVE-2026-91768  (opens in a new tab)
CWE-1023  (opens in a new tab)
CWE-187  (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 Partial String Comparison via the fcgi_is_allowed() function in the FastCGI component. An attacker with network reachability can send a FastCGI request over IPv6 from an address sharing the first 96 bits with an address in listen.allowed_clients; the partial comparison accepts the connection and lets the attacker reach the endpoint. Where the deployment allows the request to invoke an available PHP script, the attacker can execute it in the FPM worker context.

Notes

  • The exploit path requires PHP-FPM to listen on IPv6 TCP and rely on listen.allowed_clients as its access boundary; Unix-socket or IPv4-only deployments, and deployments whose boundary is an external firewall, are not affected.

CVSS Base Scores

version 4.0
version 3.1