CVE-2025-46337 CRITICAL

CVE-2025-46337: SQL injection in ADOdb PostgreSQL driver pg_insert_id() method

Vendor Adodb
Product ADOdb
Weakness CWE-89 · SQLi
Published May 1, 2025
Last update May 26, 2025

CVSS base score

10.0/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 1, 2025 CVE published
May 26, 2025 Record updated