CVE-2025-46337 Details
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.
A SQL injection vulnerability has been identified in the ADOdb library for PHP, specifically in the PostgreSQL database driver. This issue arises from improper escaping of query parameters, which may allow an attacker to execute arbitrary SQL statements. The vulnerability is present in ADOdb versions through 5.22.8 and is triggered when the pg_insert_id() function is called with user-supplied data.
Upgrade to ADOdb version 5.22.9 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 1, 2025CISA-ADP
Assessed May 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/05/msg00029.html | CVE | AdvisoryMailing ListRemedy |
| https://xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html | CVE | ExploitRemedy |
| https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426 | [email protected] | Source Code |
| https://github.com/ADOdb/ADOdb/issues/1070 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545 | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ADOdb | <= 5.22.8 (semver) |
CPE
Remediation
| |
| libphp-adodb | All versions |
CPE
Remediation
| |
| Debian | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 26, 2025 | CVE Modified | CVE |
| May 5, 2025 | CVE Modified | CVE |
| May 1, 2025 | New CVE Received | [email protected] |
Volerion