CVE-2026-17543: SQL injection in ext-pgsql via E'...' backslash breakout
Noroxi assessment
Priority: Monitor (action score 32/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.33% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: PHP Group PHP 8.2.33, 8.3.33, 8.4.24; azl3 php 8.3.31-1 on Azure Linux 3.0 8.3.33-1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to PHP Group PHP 8.2.33, 8.3.33, 8.4.24; azl3 php 8.3.31-1 on Azure Linux 3.0 8.3.33-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- ALSA-2026:56969
- ALSA-2026:57539
- ALSA-2026:57574
- ALSA-2026:61259
- ALSA-2026:61903
- ALSA-2026:62334
- ALSA-2026:62614
- openSUSE-SU-2026:11418-1
- openSUSE-SU-2026:21532-1
- RHSA-2026:47200
- RHSA-2026:56969
- RHSA-2026:57539
- RHSA-2026:57574
- RHSA-2026:61259
- RHSA-2026:61903
- RHSA-2026:62334
- RHSA-2026:62614
- RLSA-2026:56969
- RLSA-2026:57539
- RLSA-2026:57574
- Published
- Jul 30, 2026
- Updated
- Oct 23, 2026
- EPSS
- 0.3% · 26th percentile
- CWE
- CWE-89
Report tools
Action score
32
Low priority for now.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · php
- 8.1
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS: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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Versions reported by the vendor
Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.
PHP Group PHP
- 8.2.* and later · before 8.2.33affected · semver
- 8.3.* and later · before 8.3.33affected · semver
- 8.4.* and later · before 8.4.24affected · semver
- 8.5.* and later · before 8.5.9affected · semver
Affected versions · NVD (4)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php8.2.0 and later · before 8.2.33
- php php8.3.0 and later · before 8.3.33
- php php8.4.0 and later · before 8.4.24
- php php8.5.0 and later · before 8.5.9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | php | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-bcmath | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-cli | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-common | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-dba | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-dbg | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-devel | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-embedded | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-enchant | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-ffi | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-fpm | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-gd | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-gmp | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-intl | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-ldap | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-mbstring | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-mysqlnd | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-odbc | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-opcache | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-pdo | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-pgsql | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-process | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-snmp | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
| AlmaLinux:10 | php-soap | before 8.3.33-1.el10_2 | 8.3.33-1.el10_2 |
+96
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2026-7263May 10, 2026 · DoS attack via DOMNode::C14N()25Monitor
- ← EarlierCVE-2026-14355Jul 3, 2026 · ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD21Monitor
- Later →CVE-2026-17544Jul 30, 2026 · Out-of-bounds write in bccomp() via crafted operand and scale32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| PHP Group PHP | 8.2.33 | Vendor (CNA) |
| PHP Group PHP | 8.3.33 | Vendor (CNA) |
| PHP Group PHP | 8.4.24 | Vendor (CNA) |
| PHP Group PHP | 8.5.9 | Vendor (CNA) |
| azl3 php 8.3.31-1 on Azure Linux 3.0 | 8.3.33-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:php8.4 | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-bcmath | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-cli | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-common | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-dba | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-dbg | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-devel | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-embedded | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-enchant | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-ffi | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-fpm | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:php8.4-gd | 8.4.24-1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| alpine:php82 | 8.2.33-r0 · Alpine:v3.22 | Package registry (OSV) |
| alpine:php83 | 8.3.36-r0 · Alpine:v3.22 | Package registry (OSV) |
| alpine:php84 | 8.4.27-r0 · Alpine:v3.22 | Package registry (OSV) |
| alpine:php85 | 8.5.12-r0 · Alpine:v3.23 | Package registry (OSV) |
| debian:php8.2 | 8.2.33-1~deb12u1 · Debian:12 | Package registry (OSV) |
| debian:php8.4 | 8.4.24-1~deb13u1 · Debian:13 | Package registry (OSV) |
| opensuse:apache2-mod_php8 | 8.4.24-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:php8 | 8.5.9-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:php8-embed | 8.4.24-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:php8-fastcgi | 8.4.24-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:php8-fpm | 8.4.24-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:php8-test | 8.4.24-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| red hat:php | 0:8.5.9-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
+33
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2026-08-04 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+4 d
- TodayNov 16, 2026+109 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Alexandre Daubois - The PHP Foundationanalyst
- Matteo Beccatiremediation reviewer
- ExPatch-LLCfinder
- Ilija Tovilo - The PHP Foundationremediation developer
- Jakub Zelenka - The PHP Foundationremediation reviewer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-1735382 days apartpgsql extension does not check for errors during escaping30Monitor
- CVE-2025-1417981 days apartSQL injection in pdo_firebird via NUL bytes in quoted strings29Monitor
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-26-0705 · Jul 31, 2026(PHP Güvenlik Zafiyeti)
Not on record for this CVE: patch commit or PR link · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')CVSS vector
CVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:U/V:X/RE:X/U:X
nvd-secondary
Root cause
The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.
The bug in code
The whole CWE-89 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = '" + owner + "'"
);Fixed
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = $1",
[owner]
);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Expanding Control over the Operating System from the DatabaseCAPEC-470Very High
- SQL InjectionCAPEC-66likelihood: High · High
- Blind SQL InjectionCAPEC-7likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.