Ubuntu CVE Tracker
UBUNTU-CVE-2025-46337
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | libphp-adodb | All versions before 5.20.3-1ubuntu1+esm2 (fixed in 5.20.3-1ubuntu1+esm2) |
| Ubuntu:Pro:18.04:LTS | libphp-adodb | All versions before 5.20.9-1ubuntu0.1~esm2 (fixed in 5.20.9-1ubuntu0.1~esm2) |
| Ubuntu:Pro:20.04:LTS | libphp-adodb | All versions before 5.20.16-1ubuntu0.1~esm2 (fixed in 5.20.16-1ubuntu0.1~esm2) |
| Ubuntu:Pro:22.04:LTS | libphp-adodb | All versions before 5.20.19-1ubuntu0.1+esm1 (fixed in 5.20.19-1ubuntu0.1+esm1) |
| Ubuntu:Pro:24.04:LTS | libphp-adodb | All versions before 5.21.4-1ubuntu0.1~esm1 (fixed in 5.21.4-1ubuntu0.1~esm1) |
| Ubuntu:25.10 | libphp-adodb | All versions before 5.22.9-0.1 (fixed in 5.22.9-0.1) |
| Ubuntu:26.04:LTS | libphp-adodb | All versions before 5.22.9-0.1 (fixed in 5.22.9-0.1) |
References
- https://ubuntu.com/security/CVE-2025-46337
- https://www.cve.org/CVERecord?id=CVE-2025-46337
- 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
- https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426
- https://ubuntu.com/security/notices/USN-7530-1
- https://ubuntu.com/security/notices/USN-7530-2