{"id":"GHSA-vf2r-cxg9-p7rf","aliases":["CVE-2025-54119"],"title":"The ADOdb sqlite3 driver allows SQL injection","description":"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.\n\nNote that the indicated Severity corresponds to a worst-case usage scenario, e.g. allowing user-supplied data to be sent as-is to the above-mentioned methods.\n\n### Impact\nSQLite3 driver.\n\n### Patches\nVulnerability is fixed in ADOdb 5.22.10 (https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03).\n\n### Workarounds\nOnly pass controlled data to metaColumns(), metaForeignKeys() and metaIndexes() method's $table parameter.\n\n### Credits\n\nThanks to Marco Nappi (@mrcnpp) for reporting this vulnerability.","severity":"critical","score":10,"published":"2025-08-04T15:12:03.000Z","modified":"2025-11-03T19:50:18.058Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"adodb/adodb-php","ranges":[{"events":[{"introduced":"0"},{"fixed":"5.22.10"}],"type":"ECOSYSTEM"}],"versions":["v5.19","v5.20.0","v5.20.1","v5.20.10","v5.20.11","v5.20.12","v5.20.13","v5.20.14","v5.20.15","v5.20.16","v5.20.17","v5.20.18","v5.20.19","v5.20.2","v5.20.20","v5.20.21","v5.20.3","v5.20.4","v5.20.5","v5.20.6","v5.20.7","v5.20.8","v5.20.9","v5.21.0","v5.21.0-beta.1","v5.21.0-rc.1","v5.21.1","v5.21.2","v5.21.3","v5.21.4","v5.22.0","v5.22.1","v5.22.2","v5.22.3","v5.22.4","v5.22.5","v5.22.6","v5.22.7","v5.22.8","v5.22.9"],"fixed":["5.22.10"]}],"references":["https://github.com/ADOdb/ADOdb/security/advisories/GHSA-vf2r-cxg9-p7rf","https://nvd.nist.gov/vuln/detail/CVE-2025-54119","https://github.com/ADOdb/ADOdb/issues/1083","https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03","https://github.com/ADOdb/ADOdb","https://lists.debian.org/debian-lts-announce/2025/10/msg00020.html"],"sources":[{"name":"OSV","id":"GHSA-vf2r-cxg9-p7rf","modified":"2025-11-03T19:50:18.058757Z","url":"https://osv.dev/vulnerability/GHSA-vf2r-cxg9-p7rf"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","score":10}]}