VDB

CVE-2025-46337

CVE-2025-46337 PUBLISHED CVSS 10 CRITICAL

SQL injection in ADOdb PostgreSQL driver pg_insert_id() method

Reported by github_m · Published May 1, 2025

adodb/adodb-php is fixed in 5.22.9 (Packagist)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
adodb/adodb-phpPackagist5.22.9

Risk scores

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

Affected products

VendorProductVersions
ADOdbADOdb< 5.22.9
adodbadodb-php0
ADOdbADOdb0

Timeline

  • May 1, 2025 CVE Published
  • May 1, 2025 Coalition ESS Score (15 in total, the first dated here)
  • May 1, 2025 PoC Published (9 in total, the first dated here)
  • May 2, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 13, 2025 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-46337
vulnetix vdb fixes CVE-2025-46337

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-46337/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›