CVE-2026-17543

PHP Group · PHP

PHP contains a flaw involving improper escaping of backslashes in attacker-provided parameters, which enables trivial SQL injection attacks.

Executive summary

A critical SQL injection vulnerability in PHP allows unauthenticated attackers to execute arbitrary database commands, posing a severe risk to data integrity and confidentiality.

Vulnerability

This is an SQL injection vulnerability (CWE-89) triggered by the improper neutralization of special elements within SQL commands. The vulnerability is exploitable by unauthenticated remote attackers.

Business impact

The ability for an unauthenticated user to perform SQL injection is a significant security failure that can lead to total database compromise, including the unauthorized exfiltration or modification of sensitive data. Given the CVSS score of 8.1, this represents a high-severity risk that could result in substantial regulatory penalties, loss of customer trust, and operational downtime if exploited.

Remediation

Immediate Action: Upgrade to the latest patched version of PHP, specifically 8.2.33, 8.3.33, 8.4.24, or 8.5.9, as provided by the PHP Group.

Proactive Monitoring: Enable detailed database query logging and monitor for unusual query patterns or syntax errors that may indicate automated injection attempts.

Compensating Controls: Deploy a Web Application Firewall (WAF) with updated rulesets designed to detect and block common SQL injection payloads.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

This vulnerability presents a clear and present danger to any environment utilizing the affected versions of PHP. Due to the ease with which an attacker can leverage this flaw, administrators must prioritize the application of the provided patches across all production environments immediately to minimize the attack surface.