CVE-2025-46337

CRITICAL10.0EPSS 0.52%

SQL injection in ADOdb PostgreSQL driver pg_insert_id() method

Published: 5/1/2025Modified: 4/28/2026
Also known as:GHSA-8x27-jwjr-8545DEBIAN-CVE-2025-46337

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.

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

References (8)