Skip to main content

PHP CVE-2026-17543

| EUVDEUVD-2026-51090 HIGH
SQL Injection (CWE-89)
2026-07-30 php
8.1
CVSS 4.0 · Vendor: php
Share

Severity by source

Vendor (php) PRIMARY
8.1 HIGH
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
vuln.today AI
9.8 CRITICAL

Network-reachable via unauthenticated app input at the PHP layer with low complexity, and SQL injection typically yields full read, write, and destructive access to the database (C/I/A:H).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat
7.4 HIGH
qualitative

Primary rating from Vendor (php).

CVSS VectorVendor: php

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 30, 2026 - 12:03 EUVD
Analysis Generated
Jul 30, 2026 - 11:50 vuln.today
CVE Published
Jul 30, 2026 - 11:22 cve.org
HIGH 8.1

DescriptionCVE.org

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.

AnalysisAI

SQL injection in the PHP interpreter's string-escaping routine affects PHP 8.2.x before 8.2.33, 8.3.x before 8.3.33, 8.4.x before 8.4.24, and 8.5.x before 8.5.9, where backslashes in attacker-controlled parameters are improperly escaped, allowing malicious input to break out of quoted SQL string literals. Any web application relying on PHP's built-in escaping to sanitize user data before database queries can be subverted, enabling trivial injection. This is a CWE-89 flaw reported by the PHP project (advisory GHSA-7qpv-r5mr-78m4); no public exploit identified at time of analysis, and CVSS 4.0 rates it 8.1 with exploitation marked automatable.

Technical ContextAI

The vulnerability lies in PHP's core character-escaping logic used to neutralize special characters in database queries (the class of function that escapes quotes and control characters, e.g. mysqli/PDO/driver-level escaping). Because backslashes are not correctly escaped, an attacker can supply a trailing or crafted backslash sequence that consumes or neutralizes the escaping applied to a following quote, letting the quote terminate the string literal and inject arbitrary SQL. This is a textbook CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) root cause, but occurring inside the language runtime itself rather than application code, so applications that correctly call the escaping API are still exposed. The affected CPE is cpe:2.3:a:php_group:php across the 8.2 through 8.5 branches.

RemediationAI

Vendor-released patch: upgrade PHP to 8.2.33, 8.3.33, 8.4.24, or 8.5.9 (or later) matching your branch, as published in advisory https://github.com/php/php-src/security/advisories/GHSA-7qpv-r5mr-78m4. Where an immediate runtime upgrade is not possible, mitigate at the application layer by switching database access to parameterized/prepared statements (PDO or mysqli bound parameters) instead of relying on manual string escaping, which sidesteps the flawed backslash handling; note this requires code changes and testing. As a stopgap, place strict input validation or a WAF rule to reject parameters containing backslash-plus-quote sequences in front of affected apps, accepting that WAF filtering is bypass-prone and validation may break legitimate input containing backslashes. Prioritize the interpreter upgrade as the definitive fix.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

Share

CVE-2026-17543 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy