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.
Published: 2025-05-01
Score: 10 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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
History

Mon, 26 May 2025 18:30:00 +0000

Type Values Removed Values Added
References

Mon, 05 May 2025 13:45:00 +0000

Type Values Removed Values Added
References

Fri, 02 May 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 01 May 2025 17:30:00 +0000

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'}


Subscriptions

Adodb Project Adodb
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-05-26T18:03:45.346Z

Reserved: 2025-04-22T22:41:54.912Z

Link: CVE-2025-46337

cve-icon Vulnrichment

Updated: 2025-05-26T18:03:45.346Z

cve-icon NVD

Status : Deferred

Published: 2025-05-01T18:15:57.510

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-46337

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-06-20T15:42:51Z

Weaknesses