{"id":"CVE-2025-46337","aliases":["GHSA-8x27-jwjr-8545"],"url":"https://o3.security/vulnerability/CVE-2025-46337","summary":"SQL injection in ADOdb PostgreSQL driver pg_insert_id() method","details":"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-01T17:20:10.658Z","modified":"2026-07-15T01:48:52.242651191Z","cvss":{"score":10,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"adodb/adodb-php","fixedVersion":"5.22.9"}],"fix":{"url":"https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426","label":"ADOdb/ADOdb@11107d6"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00029.html"},{"type":"ADVISORY","url":"https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46337.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46337"},{"type":"REPORT","url":"https://github.com/ADOdb/ADOdb/issues/1070"},{"type":"FIX","url":"https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426"},{"type":"ARTICLE","url":"https://xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:52.242651191Z"}}