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.

Vendor Advisory NVD

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.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE

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.

PHP
 

Affected Versions

PHP Group PHP: