SQL Injection Affecting libphp-adodb package, versions <5.22.10-0.1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.07% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBPHPADODB-11487560
  • published6 Aug 2025
  • disclosed5 Aug 2025

Introduced: 5 Aug 2025

CVE-2025-54119  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libphp-adodb to version 5.22.10-0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libphp-adodb package and not the libphp-adodb package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.