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.
References (4)
Core 4
Core References
Vendor Advisory x_refsource_confirm
https://github.com/ADOdb/ADOdb/security/advisories/GHSA-vf2r-cxg9-p7rf
Issue Tracking x_refsource_misc
https://github.com/ADOdb/ADOdb/issues/1083
Patch x_refsource_misc
https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03
Scores
CVSS v3
10.0
EPSS
0.0010
EPSS Percentile
27.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-89
Status
published
Products (2)
ADOdb/ADOdb
< 5.22.10
adodb/adodb-php
0 - 5.22.10Packagist
Published
Aug 05, 2025
Tracked Since
Feb 18, 2026