---
id: CVE-2026-121262
title: phpMyAdmin SQL-Parser ExplainStatement.php parse type conversion
summary: >-
  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
  con…
severity: medium
cvss: 5.3
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-704
vendor: phpMyAdmin
product: SQL-Parser
affected:
  - SQL-Parser 6.0.0
  - SQL-Parser 6.0.1
published: '2026-11-03'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T17:00:16.727Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-121262'
references:
  - url: 'https://vuldb.com/vuln/430228'
    label: >-
      VDB-430228 | phpMyAdmin SQL-Parser ExplainStatement.php parse type
      conversion
  - url: 'https://vuldb.com/vuln/430228/cti'
    label: 'VDB-430228 | CTI Indicators (IOB, IOC, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-121262'
    label: CVE-2026-121262 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1018498'
    label: >-
      Submit #1018498 | phpMyAdmin SQL-Parser 6.0.0 CWE-704: Incorrect Type
      Conversion or Cast
  - url: 'https://gist.github.com/Ishanoshada/f984e2f5f31e02a42d98615348cfca51'
tags:
  - cve.org
epss: 0.00372
epssPercentile: 0.31363
ingestedAt: '2026-11-05T20:33:06.302Z'
---

## Overview

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.

## Affected

- `SQL-Parser 6.0.0`
- `SQL-Parser 6.0.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
