Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. adodb/adodb-php
  4. ›
  5. CVE-2025-54119

CVE-2025-54119: The ADOdb sqlite3 driver allows SQL injection

August 4, 2025 (updated August 5, 2025)

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.

References

  • github.com/ADOdb/ADOdb
  • github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03
  • github.com/ADOdb/ADOdb/issues/1083
  • github.com/ADOdb/ADOdb/security/advisories/GHSA-vf2r-cxg9-p7rf
  • github.com/advisories/GHSA-vf2r-cxg9-p7rf
  • nvd.nist.gov/vuln/detail/CVE-2025-54119

Code Behaviors & Features

Detect and mitigate CVE-2025-54119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.22.10

Fixed versions

  • 5.22.10

Solution

Upgrade to version 5.22.10 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/adodb/adodb-php/CVE-2025-54119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:54 +0000.