CVE-2025-46337

SQL injection in ADOdb PostgreSQL driver pg_insert_id() method

Published May 1, 2025 CVSS 3.1 · 10 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4177-1 libphp-adodb security update
EUVD EUVD EUVD-2025-13113 SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
Github GHSA Github GHSA GHSA-8x27-jwjr-8545 SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
Ubuntu USN Ubuntu USN USN-7530-1 ADOdb vulnerability
Ubuntu USN Ubuntu USN USN-7530-2 ADOdb vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 26, 2025, 6:03 PM
Reserved
Apr 22, 2025, 10:41 PM
Status
Deferred
Published
May 1, 2025, 6:15 PM
Modified
Jun 17, 2026, 9:26 AM