CVE-2025-46337
ADOdb is a PHP database class library that provides abstractions …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426
- github.com/ADOdb/ADOdb/issues/1070
- github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545
- lists.debian.org/debian-lts-announce/2025/05/msg00029.html
- xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html
- nvd.nist.gov/vuln/detail/CVE-2025-46337
- github.com/advisories/GHSA-8x27-jwjr-8545
- nvd.nist.gov/vuln/detail/CVE-2025-46337
- cve.org/CVERecord?id=CVE-2025-46337
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.