CVE-2026-17544

PHP Group · PHP

A vulnerability in the bccomp function of PHP allows attackers to trigger an out-of-bounds write, potentially leading to memory corruption.

Executive summary

A high-severity memory corruption vulnerability in PHP versions 8.4 and 8.5 poses a significant risk of arbitrary code execution or application crashes.

Vulnerability

This is an out-of-bounds write vulnerability (CWE-787) triggered by attacker-provided inputs to the bccomp function. The vulnerability is exploitable by an unauthenticated remote attacker.

Business impact

The ability to perform out-of-bounds writes on the stack and heap can allow attackers to overwrite critical memory structures. This risks full system compromise, unauthorized data access, or persistent denial-of-service conditions. Given the CVSS score of 8.1, the potential for total impact on confidentiality, integrity, and availability necessitates urgent patching.

Remediation

Immediate Action: Upgrade PHP to version 8.4.24 or 8.5.9, or the latest available stable release, to patch the bccomp function.

Proactive Monitoring: Monitor server error logs for unexpected crashes or segmentation faults that may indicate attempted exploitation of memory corruption flaws.

Compensating Controls: Deploy a Web Application Firewall (WAF) to filter malicious input payloads, though this should be considered a temporary measure pending a software update.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

This vulnerability represents a critical risk to any infrastructure relying on PHP. Administrators must prioritize the deployment of the provided security updates to ensure the stability and security of their web environments.