SQL Injection Affecting libphp-adodb package, versions <5.22.9-0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.74% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-LIBPHPADODB-13536026
  • published12 Oct 2025
  • disclosed1 May 2025

Introduced: 1 May 2025

CVE-2025-46337  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 libphp-adodb to version 5.22.9-0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libphp-adodb package and not the libphp-adodb package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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.