Paper/Archive/CVE-2026-17543

CVE-2026-17543

PHP Group PHP — SQL injection in ext-pgsql via E'...' backslash breakout

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
PHP8.2.* – < 8.2.338.2.33CNA
PHP8.3.* – < 8.3.338.3.33CNA
PHP8.4.* – < 8.4.248.4.24CNA
PHP8.5.* – < 8.5.98.5.9CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
php (CNA)8.1CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/AU:Y/R:U
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

advisorygithub.com/php/php-src/security/advisories/GHSA-7qpv-r5mr-78m4