Name | CVE-2025-46337 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1104548 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libphp-adodb (PTS) | bullseye (security), bullseye | 5.20.19-1+deb11u1 | vulnerable |
| bookworm | 5.21.4-1 | vulnerable |
| sid, trixie | 5.22.9-0.1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libphp-adodb | source | (unstable) | 5.22.9-0.1 | | | 1104548 |
Notes
[bookworm] - libphp-adodb <no-dsa> (Will be fixed via point release)
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 (v5.22.9)