CVE-2026-121262: phpMyAdmin SQL-Parser type conversion error in EXPLAIN parsing

CVE-2026-121262 · Severity: medium · CVSS 5.3 · Published 2026-11-03

phpMyAdmin SQL-Parser is a library used to parse and validate SQL statements in web applications. A malformed EXPLAIN FOR CONNECTION SQL query can trigger a type conversion error that crashes the parser, causing applications relying on this library to terminate unexpectedly. This denial-of-service vulnerability affects any web application or tool that uses the library to parse untrusted SQL queries.

Vendors: phpMyAdmin.

Quick answers

Is CVE-2026-121262 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-121262 being exploited in the wild.
How severe is CVE-2026-121262?
Medium severity, with a CVSS score of 5.3, published 3 November 2026.
Which products and versions are affected?
phpMyAdmin SQL-Parser 6.0.0, 6.0.1.
Is there a fix for CVE-2026-121262?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-121262 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-121262?
Check whether you run phpMyAdmin SQL-Parser at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The ExplainStatement::parse() method in src/Statements/ExplainStatement.php assigns a string token value to an integer property (connectionId) without type validation, causing a TypeError in strict types mode. A remote attacker can send a malformed EXPLAIN FOR CONNECTION query (with a delimiter or missing identifier instead of a valid integer connection ID) to crash the parser process. The vulnerability requires only network access and no authentication.

Affected products

  • phpMyAdmin SQL-Parser 6.0.0, 6.0.1

Timeline

  • 2026-11-03: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.