# CVE-2025-46337: libphp-adodb: ADOdb is a PHP database class library that provides abstractions forperforming queries and managing databases

CVE-2025-46337 is fixed in libphp-adodb on 1 platform, first by libphp-adodb 5.20.9-1ubuntu0.1~esm2, released May 1, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-46337
- Priority: High
- CVSS: 10.0 (Medium)
- EPSS: 0.0076
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 1, 2025

## Description

ADOdb is a PHP database class library that provides abstractions forperforming queries and managing databases. Prior to version 5.22.9,improper escaping of a query parameter may allow an attacker to executearbitrary SQL statements when the code using ADOdb connects to a PostgreSQLdatabase and calls pg_insert_id() with user-supplied data. This issue hasbeen patched in version 5.22.9.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libphp-adodb Debian 11.6 (bullseye) | 5.20.19-1+deb11u2 | [DLA-4177-1](https://patchblox.com/security/data/fix/linux/dla-4177-1.md) | May 24, 2025 |
| Linux | libphp-adodb Debian 12.15 (bookworm) | 5.21.4-1+deb12u1 | [DEBIAN-CVE-2025-46337](https://patchblox.com/security/data/fix/linux/debian-cve-2025-46337.md) | May 1, 2025 |
| Linux | libphp-adodb Debian 13.5 (trixie) | 5.22.9-0.1 | [DEBIAN-CVE-2025-46337](https://patchblox.com/security/data/fix/linux/debian-cve-2025-46337.md) | May 1, 2025 |
| Linux | libphp-adodb Debian 14 | 5.22.9-0.1 | [DEBIAN-CVE-2025-46337](https://patchblox.com/security/data/fix/linux/debian-cve-2025-46337.md) | May 1, 2025 |
| Linux | libphp-adodb Ubuntu 18.04.6 LTS (bionic) | 5.20.9-1ubuntu0.1~esm2 | [libphp-adodb 5.20.9-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libphp-adodb-5.20.9-1ubuntu0.1-esm2.md) | May 1, 2025 |
| Linux | libphp-adodb Ubuntu 20.04 LTS (focal) | 5.20.16-1ubuntu0.1~esm2 | [libphp-adodb 5.20.16-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libphp-adodb-5.20.16-1ubuntu0.1-esm2.md) | May 1, 2025 |
| Linux | libphp-adodb Ubuntu 22.04.1 LTS (jammy) | 5.20.19-1ubuntu0.1+esm1 | [libphp-adodb 5.20.19-1ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libphp-adodb-5.20.19-1ubuntu0.1-esm1.md) | May 1, 2025 |
| Linux | libphp-adodb Ubuntu 24.04.5 LTS (noble) | 5.21.4-1ubuntu0.1~esm1 | [libphp-adodb 5.21.4-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libphp-adodb-5.21.4-1ubuntu0.1-esm1.md) | May 1, 2025 |
| Linux | libphp-adodb Ubuntu 24.10 (oracular) | 5.22.7-0.1ubuntu0.1 | [libphp-adodb 5.22.7-0.1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libphp-adodb-5.22.7-0.1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | libphp-adodb Ubuntu 25.04 (plucky) | 5.22.8-0.1ubuntu0.1 | [libphp-adodb 5.22.8-0.1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libphp-adodb-5.22.8-0.1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | libphp-adodb Ubuntu 25.10 (questing) | 5.22.9-0.1 | [libphp-adodb 5.22.9-0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libphp-adodb-5.22.9-0.1.md) | May 1, 2025 |
| Linux | libphp-adodb Ubuntu 26.04.1 LTS (resolute) | 5.22.9-0.1 | [libphp-adodb 5.22.9-0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libphp-adodb-5.22.9-0.1.md) | May 1, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
