{"id":"UBUNTU-CVE-2025-54119","details":"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.","modified":"2026-05-20T16:23:35.657465612Z","published":"2025-08-05T01:15:00Z","upstream":["CVE-2025-54119"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-54119"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-54119"},{"type":"REPORT","url":"https://github.com/ADOdb/ADOdb/security/advisories/GHSA-vf2r-cxg9-p7rf"},{"type":"REPORT","url":"https://github.com/ADOdb/ADOdb/issues/1083"},{"type":"REPORT","url":"https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03"}],"affected":[{"package":{"name":"libphp-adodb","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libphp-adodb?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.18a-1","5.20.1-1","5.20.2-1","5.20.2-2","5.20.3-1","5.20.3-1ubuntu1","5.20.3-1ubuntu1+esm1","5.20.3-1ubuntu1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libphp-adodb","binary_version":"5.20.3-1ubuntu1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54119.json"}},{"package":{"name":"libphp-adodb","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libphp-adodb?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.20.9-1","5.20.9-1ubuntu0.1~esm1","5.20.9-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libphp-adodb","binary_version":"5.20.9-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54119.json"}},{"package":{"name":"libphp-adodb","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libphp-adodb?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.20.14-1","5.20.15-1","5.20.16-1","5.20.16-1ubuntu0.1~esm1","5.20.16-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libphp-adodb","binary_version":"5.20.16-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54119.json"}},{"package":{"name":"libphp-adodb","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/libphp-adodb?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.20.19-1","5.20.19-1ubuntu0.1","5.20.19-1ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.20.19-1ubuntu0.1+esm1","binary_name":"libphp-adodb"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54119.json"}},{"package":{"name":"libphp-adodb","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/libphp-adodb?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.21.4-1","5.21.4-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libphp-adodb","binary_version":"5.21.4-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54119.json"}},{"package":{"name":"libphp-adodb","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libphp-adodb?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.22.8-0.1","5.22.9-0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libphp-adodb","binary_version":"5.22.9-0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54119.json"}},{"package":{"name":"libphp-adodb","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libphp-adodb?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.22.9-0.1","5.22.10-0.1","5.22.10-1","5.22.11-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libphp-adodb","binary_version":"5.22.11-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54119.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L"},{"type":"Ubuntu","score":"medium"}]}