CVE-2025-46337SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
- 10.0CriticalCVSS base score
- 0.76%Exploitation in 30 daysEPSS · top 44% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 9 days later
· 9 days later
Published
- 25 days later
· 25 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
| NVDNVD · Deferred | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
- EPSS (exploitation in 30 days)
- 0.76% · top 44% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 10.0.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistadodb/adodb-phpGHSA-8x27-jwjr-8545 (opens in a new tab)
References
References5
- https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/ADOdb/ADOdb/issues/1070 (opens in a new tab)x_refsource_MISC
- https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426 (opens in a new tab)x_refsource_MISC
- https://xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00029.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-13113 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-8x27-jwjr-8545 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-46337)Record last updated .