REDHAT-BUG-2541660: Medium severity PHP php-fpm vulnerability

Published Sep 25, 2026
·
Updated

The IPv6 branch of the FastCGI client access check compares only the first 12 bytes of a 16-byte IPv6 address, so listen.allowedclients matches on a /96 prefix instead of the exact address. An attacker who can source an address sharing the first 96 bits with an allowed one passes the check and reaches the FastCGI endpoint.

Affected Software

1 affected component
PHP php-fpm

Event History

Sep 25, 2026
Data Sourced
via Red Hat·09:21 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

PHP-FPM deployments using IPv6 and relying on listen.allowed_clients to restrict access to the FastCGI endpoint are exposed if an attacker can use an IPv6 source address with the same first 96 bits as an allowed client.

2

What does an attacker need to exploit it?

The attacker needs network reachability to the FastCGI endpoint and the ability to source an IPv6 address sharing the first 12 bytes, or /96 prefix, with an address permitted by listen.allowed_clients.

3

Are IPv4-only deployments affected?

The issue is in the IPv6 branch of the FastCGI client access check. The provided information does not indicate an impact on IPv4 access checks.

4

What configuration should be reviewed while remediation is pending?

Review whether listen.allowed_clients is being used as the access boundary for an IPv6-reachable FastCGI endpoint. Restrict network access so untrusted systems cannot reach that endpoint, particularly systems able to use addresses within an allowed client's /96 prefix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203