CVE-2025-46337

Critical

Description

ADOdb is a PHP database class library that provides abstractions for performing queries and managing databases. Prior to version 5.22.9, improper escaping of a query parameter may allow an attacker to execute arbitrary SQL statements when the code using ADOdb connects to a PostgreSQL database and calls pg_insert_id() with user-supplied data. This issue has been patched in version 5.22.9.

SeverityCritical
CVSS10.0
Exploit probability—
ProductAdodb/adodb-php
PublishedMay 1, 2025
First seenMay 1, 2025
Weakness typeCWE-89SQL injection

How to fix

Update
  • adodb/adodb-php5.22.9 or later

Affected products

ProductAffected versionsFixed in
adodb/adodb-phpPackagistv < 5.22.95.22.9

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.