CVE-2025-54119

Critical

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.

SeverityCritical
CVSS10.0
Exploit probability—
ProductAdodb/adodb-php
PublishedAug 5, 2025
First seenAug 5, 2025
Weakness typeCWE-89SQL injection

How to fix

Update
  • adodb/adodb-php5.22.10 or later

Affected products

ProductAffected versionsFixed in
adodb/adodb-phpPackagistv < 5.22.105.22.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.