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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ADOdb | ADOdb | < 5.22.9 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libphp-adodb | 5.22.9-0.1 | — |
| Debian 13 | libphp-adodb | 5.22.9-0.1 | — |
| Debian 12 | libphp-adodb | 5.21.4-1+deb12u1 | — |
| Debian 11 | libphp-adodb | 5.20.19-1+deb11u2 | DLA-4177-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | libphp-adodb | 5.22.9-0.1 | — |
| Ubuntu 25.10 | libphp-adodb | 5.22.9-0.1 | — |
| Ubuntu 25.04 | libphp-adodb | 5.22.8-0.1ubuntu0.1 | USN-7530-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | libphp-adodb | 5.21.4-1ubuntu0.1~esm1 | USN-7530-2 |
| Ubuntu Pro 22.04 LTS | libphp-adodb | 5.20.19-1ubuntu0.1+esm1 | USN-7530-2 |
| Ubuntu Pro 20.04 LTS | libphp-adodb | 5.20.16-1ubuntu0.1~esm2 | USN-7530-2 |
| Ubuntu Pro 18.04 LTS | libphp-adodb | 5.20.9-1ubuntu0.1~esm2 | USN-7530-2 |
| Ubuntu Pro 16.04 LTS | libphp-adodb | 5.20.3-1ubuntu1+esm2 | USN-7530-2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | adodb/adodb-php | < 5.22.9 | 5.22.9 | GHSA-8x27-jwjr-8545 |
Advisories 4
- USN-7530-2 libphp-adodb vulnerability Ubuntu Security Notices (USN) · Nov 5, 2026
- WID-SEC-2025-1353 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 4, 2026
- DLA-4177-1 libphp-adodb - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-7530-1 libphp-adodb vulnerability Ubuntu Security Notices (USN) · Feb 4, 2026