Loading...
Skip to main content

CVE-2025-54119 — Vulnerability in adodb/adodb-php — CVE Details

CRITICAL

The ADOdb sqlite3 driver allows SQL injection

Published August 4, 2025Updated November 3, 2025Source: osv

Summary

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.

Advisory Timeline

  • First published August 4, 2025 (434 days ago).
  • Last revised November 3, 2025 — 91 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update adodb/adodb-php to 5.22.10 or later
composer require "adodb/adodb-php:^5.22.10"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
adodb/adodb-php
packagist
v5.19, v5.20.0, v5.20.1, v5.20.10 (+36 more)5.22.10

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

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

Frequently Asked Questions

What is CVE-2025-54119?
The ADOdb sqlite3 driver allows SQL injection This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2025-54119?
CVE-2025-54119 affects adodb/adodb-php. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-54119 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-vf2r-cxg9-p7rf

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies