ADVISORIES

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

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSlibphp-adodb
All versions before 5.20.3-1ubuntu1+esm2 (fixed in 5.20.3-1ubuntu1+esm2)
Ubuntu:Pro:18.04:LTSlibphp-adodb
All versions before 5.20.9-1ubuntu0.1~esm2 (fixed in 5.20.9-1ubuntu0.1~esm2)
Ubuntu:Pro:20.04:LTSlibphp-adodb
All versions before 5.20.16-1ubuntu0.1~esm2 (fixed in 5.20.16-1ubuntu0.1~esm2)
Ubuntu:Pro:22.04:LTSlibphp-adodb
All versions before 5.20.19-1ubuntu0.1+esm1 (fixed in 5.20.19-1ubuntu0.1+esm1)
Ubuntu:Pro:24.04:LTSlibphp-adodb
All versions before 5.21.4-1ubuntu0.1~esm1 (fixed in 5.21.4-1ubuntu0.1~esm1)
Ubuntu:25.10libphp-adodb
All versions before 5.22.9-0.1 (fixed in 5.22.9-0.1)
Ubuntu:26.04:LTSlibphp-adodb
All versions before 5.22.9-0.1 (fixed in 5.22.9-0.1)

References