CVE-2025-46337
CRITICAL 10.0CVSS 3.1SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
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
- 1 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-8x27-jwjr-8545
- Sources
- NVDJSONOSV GHSA-8x27-jwjr-8545JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | adodb/adodb-php | < 5.22.9 | 5.22.9 |
References
- https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426 · WEB
- https://github.com/ADOdb/ADOdb/issues/1070 · WEB
- https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545 · WEB
- https://lists.debian.org/debian-lts-announce/2025/05/msg00029.html · WEB
- https://xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-46337 · ADVISORY
- https://github.com/ADOdb/ADOdb · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 May 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 May 2025)