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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| phpMyAdmin | SQL-Parser | 6.0.0, 6.0.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | phpmyadmin-sql-parser | No fix yet | — |
| Debian 13 | phpmyadmin-sql-parser | No fix yet | — |
| Debian 12 | phpmyadmin-sql-parser | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | phpmyadmin | No fix yet | — |
| Ubuntu 26.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu 24.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu 22.04 LTS | phpmyadmin | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 18.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 16.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 14.04 LTS | phpmyadmin | No fix yet | — |
References
- VDB-430228 | phpMyAdmin SQL-Parser ExplainStatement.php parse type conversion vdb-entry technical-description
- VDB-430228 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-121262 | CVE Analysis and Report third-party-advisory
- Submit #1018498 | phpMyAdmin SQL-Parser 6.0.0 CWE-704: Incorrect Type Conversion or Cast third-party-advisory
- https://gist.github.com/Ishanoshada/f984e2f5f31e02a42d98615348cfca51 exploit