SQL Injection in Adodb
CVE-2025-46337
- CVSS v3
- 10.0 Critical
- Public exploits
- None known
- EPSS
- 0.008 · 56.1th percentile
- Published
- 2025-05-01
What to do
- Fixed in
5.22.9- Affected
- 1 affected product
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.008, 56.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Adodb — versions < 5.22.9
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, zhanpengliu-tencent/medium-cve). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545
- https://github.com/ADOdb/ADOdb/issues/1070
- https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426
- lists.debian.org/debian-lts-announce/2025/05/msg00029.html
- xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html