CVE-2025-54119
ADOdb's sqlite3 driver allows SQL injection
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
10.0
ADOdb's sqlite3 driver allows SQL injection
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.
- Record
CVE-2025-54119- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-89
- Updated
- 2026-11-02
EUVDEUVD-2025-23567
10.0
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.
- Record
EUVD-2025-23567- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vf2r-cxg9-p7rf
10.0
The ADOdb sqlite3 driver allows SQL injection
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.
Note 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.
Impact
SQLite3 driver.
Patches
Vulnerability is fixed in ADOdb 5.22.10 (https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03).
Workarounds
Only pass controlled data to metaColumns(), metaForeignKeys() and metaIndexes() method's $table parameter.
Credits
Thanks to Marco Nappi (@mrcnpp) for reporting this vulnerability.
- Record
GHSA-vf2r-cxg9-p7rf- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-89
- Updated
- 2026-11-02
NVD
10.0
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.
- Record
CVE-2025-54119- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-89
- Updated
- 2026-11-02
OSV
10.0
ADOdb's sqlite3 driver allows SQL injection
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.
- Record
CVE-2025-54119- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-54119
10.0
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.
- Record
DEBIAN-CVE-2025-54119- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L - Updated
- 2026-11-02
OSVGHSA-vf2r-cxg9-p7rf
10.0
The ADOdb sqlite3 driver allows SQL injection
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.
Note 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.
Impact
SQLite3 driver.
Patches
Vulnerability is fixed in ADOdb 5.22.10 (https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03).
Workarounds
Only pass controlled data to metaColumns(), metaForeignKeys() and metaIndexes() method's $table parameter.
Credits
Thanks to Marco Nappi (@mrcnpp) for reporting this vulnerability.
- Record
GHSA-vf2r-cxg9-p7rf- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-54119
10.0
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.
- Record
UBUNTU-CVE-2025-54119- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L - Updated
- 2026-11-04
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
adodb/adodb-phpPackagist |
through 5.22.9 | 5.22.10 |
libphp-adodbDebian:12 |
before 5.21.4-1+deb12u2, plus listed versions 5.21.4-15.21.4-1+deb12u1 |
5.21.4-1+deb12u2 |
libphp-adodbDebian:13 |
before 5.22.9-0.1+deb13u1, plus listed versions 5.22.9-0.1 |
5.22.9-0.1+deb13u1 |
libphp-adodbDebian:14 |
before 5.22.10-0.1, plus listed versions 5.22.9-0.1 |
5.22.10-0.1 |
libphp-adodbDebian:11 |
before 5.20.19-1+deb11u3, plus listed versions 5.20.19-15.20.19-1+deb11u15.20.19-1+deb11u2 |
5.20.19-1+deb11u3 |
adodb/adodb-phpPackagist |
before 5.22.10, plus listed versions v5.19v5.20.0v5.20.1v5.20.10v5.20.11 Show 35 moreShow lessv5.20.12v5.20.13v5.20.14v5.20.15v5.20.16v5.20.17v5.20.18v5.20.19v5.20.2v5.20.20v5.20.21v5.20.3v5.20.4v5.20.5v5.20.6v5.20.7v5.20.8v5.20.9v5.21.0v5.21.0-beta.1v5.21.0-rc.1v5.21.1v5.21.2v5.21.3v5.21.4v5.22.0v5.22.1v5.22.2v5.22.3v5.22.4v5.22.5v5.22.6v5.22.7v5.22.8v5.22.9 |
5.22.10 |
libphp-adodbUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 5.18a-15.20.1-15.20.2-15.20.2-25.20.3-15.20.3-1ubuntu15.20.3-1ubuntu1+esm15.20.3-1ubuntu1+esm2 |
None known |
libphp-adodbUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 5.20.9-15.20.9-1ubuntu0.1~esm15.20.9-1ubuntu0.1~esm2 |
None known |
libphp-adodbUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 5.20.14-15.20.15-15.20.16-15.20.16-1ubuntu0.1~esm15.20.16-1ubuntu0.1~esm2 |
None known |
libphp-adodbUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 5.20.19-15.20.19-1ubuntu0.15.20.19-1ubuntu0.1+esm1 |
None known |
libphp-adodbUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 5.21.4-15.21.4-1ubuntu0.1~esm1 |
None known |
libphp-adodbUbuntu:25.10 |
All versions, plus listed versions 5.22.8-0.15.22.9-0.1 |
None known |
libphp-adodbUbuntu:26.10 |
All versions, plus listed versions 5.22.11-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-54119 is a critical vulnerability (CVSS 10.0) in Adodb, published August 4, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 46th percentile. Fixed in adodb/adodb-php 5.22.10.
References
github.com/ADOdb/ADOdb/security/advisories/GHSA-vf2r-cxg9-p7rf
github.com/ADOdb/ADOdb/issues/1083
github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03
lists.debian.org/debian-lts-announce/2025/10/msg00020.html
nvd.nist.gov/vuln/detail/CVE-2025-54119
github.com/advisories/GHSA-vf2r-cxg9-p7rf