CVE-2025-46337

NameCVE-2025-46337
DescriptionADOdb 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1104548

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libphp-adodb (PTS)bullseye (security), bullseye5.20.19-1+deb11u1vulnerable
bookworm5.21.4-1vulnerable
trixie5.22.8-0.1vulnerable
sid5.22.9-0.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libphp-adodbsource(unstable)5.22.9-0.11104548

Notes

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)

Search for package or bug name: Reporting problems