SQL injection in ext-pgsql via E'...' backslash breakout
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PHP Group | PHP | before 8.2.33; before 8.3.33; before 8.4.24; before 8.5.9 | 8.2.33, 8.3.33, 8.4.24, 8.5.9 | Patch available | CNA |
- PHP VendorPHP Group Affected before 8.2.33; before 8.3.33; before 8.4.24; before 8.5.9 Fixed in 8.2.33, 8.3.33, 8.4.24, 8.5.9 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 8.2.0 to before 8.2.33; 8.3.0 to before 8.3.33; 8.4.0 to before 8.4.24; 8.5.0 to before 8.5.9 | Vulnerable | PHP |
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 8.2.0 to before 8.2.33; 8.3.0 to before 8.3.33; 8.4.0 to before 8.4.24; 8.5.0 to before 8.5.9 Vulnerable ·PHP
Remediation
- Fix · CNA PHP (PHP Group) Fixed in 8.2.33, 8.3.33, 8.4.24, 8.5.9
Red Hat 8 advisories
- RHSA-2026:62614 Released 2026-09-02 · Red Hat rating Importantphp security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) php-8.3.33-1.el10_2, php-bcmath-8.3.33-1.el10_2, php-cli-8.3.33-1.el10_2 +22
- RHSA-2026:62334 Released 2026-09-01 · Red Hat rating Importantphp:7.4 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) apcu-panel-5.1.18-1.module+el8.10.0+22485+a3539972.noarch::php:7.4, libzip-1.6.1-1.module+el8.10.0+22485+a3539972.aarch64::php:7.4, libzip-1.6.1-1.module+el8.10.0+22485+a3539972.ppc64le::php:7.4 +47
- RHSA-2026:61903 Released 2026-09-01 · Red Hat rating Importantphp:8.2 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) apcu-panel-5.1.23-1.module+el9.7.0+24111+199d2cc4.noarch::php:8.2, php-8.2.33-1.module+el9.8.0+24630+45254c6a.aarch64::php:8.2, php-8.2.33-1.module+el9.8.0+24630+45254c6a.ppc64le::php:8.2 +47
Show 5 more Red Hat advisories
- RHSA-2026:61259 Released 2026-08-31 · Red Hat rating Lowphp security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) php-8.0.30-8.el9_8, php-bcmath-8.0.30-8.el9_8, php-cli-8.0.30-8.el9_8 +22
- RHSA-2026:57574 Released 2026-08-20 · Red Hat rating Importantphp:8.2 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) apcu-panel-5.1.23-1.module+el8.10.0+20770+a5eca186.noarch::php:8.2, libzip-1.7.3-1.module+el8.10.0+20770+a5eca186.aarch64::php:8.2, libzip-1.7.3-1.module+el8.10.0+20770+a5eca186.ppc64le::php:8.2 +47
- RHSA-2026:57539 Released 2026-08-20 · Red Hat rating Importantphp:8.3 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) apcu-panel-5.1.23-1.module+el9.8.0+24343+756b4fcd.noarch::php:8.3, php-8.3.33-1.module+el9.8.0+24633+17f8e765.aarch64::php:8.3, php-8.3.33-1.module+el9.8.0+24633+17f8e765.ppc64le::php:8.3 +47
- RHSA-2026:56969 Released 2026-08-19 · Red Hat rating Importantphp8.4 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) php8.4-8.4.24-1.el10_2, php8.4-bcmath-8.4.24-1.el10_2, php8.4-cli-8.4.24-1.el10_2 +22
- RHSA-2026:47200 Released 2026-07-28 · Red Hat rating CriticalRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images php-8.5.9-1.hum1@aarch64, php-8.5.9-1.hum1@src, php-8.5.9-1.hum1@x86_64 +47
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
PHP 8.2.33, 8.3.33 and 2 more versions
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-06374 Stack overflow in phar with circular symlinksPriority LOW 23
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:56969, RHSA-2026:62614 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:57574, RHSA-2026:62334 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:57539, RHSA-2026:61259, RHSA-2026:61903 |
| Red Hat Hardened Images | Fixed | RHSA-2026:47200 |
Not affected: 1 product
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-17543
References
More PHP Group vulnerabilities
- TI-2024-04260 Argument Injection in PHP-CGI KEVCVSS 3.1CRITICAL 9.8
- TI-2026-78794 PHP remote code execution via stale global state KEVCVSS 4.0CRITICAL 9.2
- TI-2026-78793 Out-of-memory handling flaw in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
- TI-2024-01743 Command injection via array-ish $command parameter of proc_open() CVSS 3.1CRITICAL 9.4
- TI-2022-13555 PDO::quote() may return unquoted string CVSS 3.1CRITICAL 9.1
- TI-2024-10408 Reference counting in php_request_shutdown causes Use-After-Free CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-17543 · CVE Program
- CVE-2026-17543 · NVD
- FIRST EPSS
- CVE-2026-17543 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences