CVE-2026-121262

phpMyAdmin SQL-Parser ExplainStatement.php parse type conversion

Published Nov 3, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was found in phpMyAdmin SQL-Parser 6.0.0/6.0.1. The affected element is the function parse of the file src/Statements/ExplainStatement.php. Performing a manipulation of the argument nextToken results in incorrect type conversion. The attack is possible to be carried out remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.

Analysis

AI-generated

Technical impact

A flaw in phpMyAdmin SQL-Parser 6.0.0 and 6.0.1 allows an attacker to manipulate the nextToken argument in the ExplainStatement.php parsing routine, causing an incorrect type conversion. This bug can be triggered remotely by supplying specially crafted input and has already been publicly disclosed. Consequently, the parser may produce malformed results or behave unpredictably, potentially allowing an attacker to influence application behavior or cause erroneous output.

Affected Systems

The vulnerability affects the phpMyAdmin SQL-Parser component, specifically versions 6.0.0 and 6.0.1. Any installation using those releases is at risk; other phpMyAdmin releases prior to 6.0.0 or newer than 6.0.1 are not known to be impacted.

Risk and Exploitability

With a CVSS score of 6.9, the issue is considered moderate severity, and the EPSS score is 0.00372, indicating an extremely low probability of exploitation. The vulnerability is not listed in CISA KEV. Attackers can exploit the flaw from a remote location by sending crafted SQL explain statements to the application. Successful exploitation leads to type conversion errors, potentially altering the behavior of the application and affecting data integrity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the phpMyAdmin SQL-Parser component to a version newer than 6.0.1 where the parse function is corrected.
  • If an immediate upgrade is not feasible, restrict access to the ExplainStatement.php functionality so that only trusted personnel can invoke it.
  • Ensure that all SQL input that reaches the parser is subject to strict validation and sanitization to prevent manipulation of the nextToken argument.

Generated by OpenCVE AI on November 6, 2026 at 02:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was found in phpMyAdmin SQL-Parser 6.0.0/6.0.1. The affected element is the function parse of the file src/Statements/ExplainStatement.php. Performing a manipulation of the argument nextToken results in incorrect type conversion. The attack is possible to be carried out remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
Title phpMyAdmin SQL-Parser ExplainStatement.php parse type conversion
First Time appeared Phpmyadmin
Phpmyadmin sql-parser
Weaknesses CWE-704
CPEs cpe:2.3:a:phpmyadmin:sql-parser:*:*:*:*:*:*:*:*
Vendors & Products Phpmyadmin
Phpmyadmin sql-parser
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-704

    Incorrect Type Conversion or Cast

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 9, 2026, 3:25 PM
Reserved
Nov 3, 2026, 10:48 AM
Status
Deferred
Published
Nov 3, 2026, 5:18 PM
Modified
Nov 9, 2026, 4:17 PM
Severity
Moderate
Public date
Nov 3, 2026, 5:00 PM