CVE-2025-54119 Details
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.
A critical SQL injection vulnerability has been identified in ADOdb versions 5.22.9 and prior, specifically within the SQLite3 database driver. The issue arises from improper escaping of query parameters, which may allow an attacker to execute arbitrary SQL statements. This vulnerability is triggered when the affected code calls the metaColumns(), metaForeignKeys(), or metaIndexes() methods with a crafted table name. The vulnerability has been addressed in ADOdb version 5.22.10.
Users can upgrade to ADOdb version 5.22.10 to address this vulnerability. For those unable to upgrade, it is advised to only pass controlled data to the metaColumns(), metaForeignKeys(), and metaIndexes() methods' table parameter.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2025CISA-ADP
Assessed Aug 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/10/msg00020.html | CVE | |
| https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03 | [email protected] | Source CodeVendor |
| https://github.com/ADOdb/ADOdb/issues/1083 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/ADOdb/ADOdb/security/advisories/GHSA-vf2r-cxg9-p7rf | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ADOdb | <= 5.22.9 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 5, 2025 | New CVE Received | [email protected] |
Volerion