Skip to content
OpenAdvisories
Critical · 10.0 CVE-2025-54119 EUVD-2025-23567GHSA-vf2r-cxg9-p7rf

ADOdb's sqlite3 driver allows SQL injection

Published Aug 5, 2025 · Updated Nov 3, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
Packagist adodb/adodb-php < 5.22.10 5.22.10 GHSA-vf2r-cxg9-p7rf

Advisories 1

References