SQLi via Unescaped Backslashes in PHP ext-pgsql (v8.2-8.5)
CVE-2026-17543 Published on July 30, 2026
SQL injection in ext-pgsql via E'...' backslash breakout
Improper escaping of backslashes in attacker-provided parameters would allow for trivial SQL injection in PHP versions from 8.2.* before 8.2.33, from 8.3.* before 8.3.33, from 8.4.* before 8.4.24, and from 8.5.* before 8.5.9.
Vulnerability Analysis
CVE-2026-17543 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
What is a SQL Injection Vulnerability?
The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.
CVE-2026-17543 has been classified to as a SQL Injection vulnerability or weakness.
Products Associated with CVE-2026-17543
Want to know whenever a new CVE is published for PHP? stack.watch will email you.
Affected Versions
PHP Group PHP:- Version 8.2.* and below 8.2.33 is affected.
- Version 8.3.* and below 8.3.33 is affected.
- Version 8.4.* and below 8.4.24 is affected.
- Version 8.5.* and below 8.5.9 is affected.