{"id":"CVE-2025-54119","published":"2025-08-05T00:12:52Z","modified":"2025-11-03T17:45:02Z","title":"ADOdb's sqlite3 driver allows SQL injection","vendor":"ADOdb","product":"ADOdb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00911,"percentile":0.5812,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/ADOdb/ADOdb/security/advisories/GHSA-vf2r-cxg9-p7rf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ADOdb/ADOdb/issues/1083","tags":["x_refsource_MISC"]},{"url":"https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00020.html","tags":[]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":11.62},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"adodb","affectedVersions":[{"vendor":"ADOdb","product":"ADOdb","versions":["< 5.22.10"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-08-05T13:57:17.840652Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"adodb/adodb-php","vulnerableRanges":["<5.22.10"],"patched":["5.22.10"],"from":["GHSA-vf2r-cxg9-p7rf"],"provenance":"source"}],"summary":{"text":"ADOdb, a PHP database abstraction library, contains an SQL injection flaw in its sqlite3 driver caused by improper escaping of a query parameter in the metaColumns(), metaForeignKeys() and metaIndexes() methods, which are affected when the table name passed to them is crafted. An unauthenticated remote attacker with network access can execute arbitrary SQL statements, provided the application uses ADOdb with a sqlite3 database and passes attacker-influenced data as the $table parameter to those methods, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:50Z"},"euvd":{"id":"EUVD-2025-23567","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-adodb-cve-2021-3850","packageHistory":[{"cve":"CVE-2016-7405","published":"2016-10-03","fixed":"5.20.7","kev":false},{"cve":"CVE-2021-3850","published":"2022-01-25","fixed":"5.21.4","kev":false},{"cve":"CVE-2025-46337","published":"2025-05-01","fixed":"5.22.9","kev":false,"link":{"from":"CVE-2025-46337","to":"CVE-2025-54119","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:adodb/adodb-php","fromFixed":"5.22.9","toFixed":"5.22.10","daysApart":96},{"kind":"similar","provenance":"machine","score":0.5,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2025-54119","published":"2025-08-05","fixed":"5.22.10","kev":false}],"package":"Packagist:adodb/adodb-php"}}