ADVISORIES

Debian Security Tracker

DEBIAN-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.

Affected packages

EcosystemPackageAffected versions
Debian:12libphp-adodb
All versions before 5.21.4-1+deb12u2 (fixed in 5.21.4-1+deb12u2)
Debian:13libphp-adodb
All versions before 5.22.9-0.1+deb13u1 (fixed in 5.22.9-0.1+deb13u1)
Debian:14libphp-adodb
All versions before 5.22.10-0.1 (fixed in 5.22.10-0.1)

References