Description
ADOdb is a PHP database class library that provides abstractions for performing queries and managing databases. In versions 5.22.9 and below, improper escaping of a query parameter may allow an attacker to execute arbitrary SQL statements when the code using ADOdb connects to a sqlite3 database and calls the metaColumns(), metaForeignKeys() or metaIndexes() methods with a crafted table name. This is fixed in version 5.22.10. To workaround this issue, only pass controlled data to metaColumns(), metaForeignKeys() and metaIndexes() method's $table parameter.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ADOdb | ADOdb | < 5.22.10 | — |
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 | libphp-adodb | 5.22.10-0.1 | — |
| Debian 13 | libphp-adodb | 5.22.9-0.1+deb13u1 | — |
| Debian 12 | libphp-adodb | 5.21.4-1+deb12u2 | — |
| Debian 11 | libphp-adodb | 5.20.19-1+deb11u3 | DLA-4340-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libphp-adodb | No fix yet | — |
| Ubuntu 25.10 | libphp-adodb | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | libphp-adodb | No fix yet | — |
| Ubuntu Pro 22.04 LTS | libphp-adodb | No fix yet | — |
| Ubuntu Pro 20.04 LTS | libphp-adodb | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libphp-adodb | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libphp-adodb | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | adodb/adodb-php | < 5.22.10 | 5.22.10 | GHSA-vf2r-cxg9-p7rf |
Advisories 1
- DLA-4340-1 libphp-adodb - security update Debian Security (DSA / DLA) · Oct 20, 2025