On this page (7 sections)
Ubuntu published USN-7530-2 on 4 November 2026. It delivers fixes for ADOdb, a PHP database abstraction library, on Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS and 24.04 LTS. It follows USN-7530-1, which fixed the same vulnerability.
If you run PHP applications on Ubuntu that use the distribution's libphp-adodb package, this notice applies to you. Ubuntu says the fixes for these releases are delivered through Ubuntu Pro (ESM Apps), so the update path depends on whether your machines are enrolled.
What Ubuntu says happened
According to the notice, ADOdb incorrectly handled SQL input, and a remote attacker could use this to execute arbitrary SQL commands. The notice references a single identifier, CVE-2025-46337. The research does not include a CVSS score, a description of which functions are affected, or any report of attacks in the wild, so none of that is claimed here.
One detail is worth flagging. The notice's short overview says ADOdb could be made to crash or run programs after receiving specially crafted input, while the detailed description only mentions executing arbitrary SQL commands. The notice does not explain the difference, so treat the SQL command execution as the confirmed behavior and consult the CVE record for more precise impact.
The weakness in plain terms
ADOdb sits between a PHP application and its database. When an application passes user-controlled values into a query without the library or the code handling them safely, an attacker can change the meaning of the query. This is the class commonly called SQL injection. Depending on database permissions, the result can range from reading data that should be private to modifying or deleting records.
Because ADOdb is a library, the risk depends on how your application uses it. A site may be exposed even if the site's own code looks careful, which is why patching the library matters.
Who is realistically exposed
- Servers running Ubuntu 16.04, 18.04, 20.04, 22.04 or 24.04 with the libphp-adodb package installed.
- PHP applications that load ADOdb from the system package rather than bundling their own copy.
- Internet-facing sites, since the notice describes a remote attacker.
How to check your exposure
This read-only command lists the installed libphp-adodb package and its version on Debian and Ubuntu systems. If it reports that no packages match, the package is not installed. Compare the version against the fixed versions in the table below.
dpkg -l libphp-adodb| Ubuntu release | Fixed version | Availability |
|---|---|---|
| 24.04 LTS (noble) | 5.21.4-1ubuntu0.1~esm1 | Ubuntu Pro, ESM Apps |
| 22.04 LTS (jammy) | 5.20.19-1ubuntu0.1+esm1 | Ubuntu Pro, ESM Apps |
| 20.04 LTS (focal) | 5.20.16-1ubuntu0.1~esm2 | Ubuntu Pro, ESM Apps |
| 18.04 LTS (bionic) | 5.20.9-1ubuntu0.1~esm2 | Ubuntu Pro, ESM Apps |
| 16.04 LTS (xenial) | 5.20.3-1ubuntu1+esm2 | Ubuntu Pro, ESM Apps |
What to do now
Ubuntu states that a standard system update will make the necessary changes. For these releases the fix comes through ESM Apps, which requires Ubuntu Pro. The notice says Ubuntu Pro is free for up to five machines, and that a community fix might become publicly available in the future.
Once the machine has access to ESM Apps, this command refreshes package lists and upgrades only the libphp-adodb package. Afterwards, re-run the version check and confirm it matches the table above.
sudo apt update && sudo apt install --only-upgrade libphp-adodb- Run the version check on every Ubuntu server that hosts PHP applications.
- Confirm whether the machine is enrolled in Ubuntu Pro with ESM Apps enabled.
- Install the fixed libphp-adodb version for your release.
- Verify the installed version matches the fixed version in the table.
- Ask vendors of any application that bundles its own ADOdb about their fix.
- Review web and database logs for unusual queries or errors around the time you were exposed.
Detection and monitoring afterwards
Because the research does not describe exploitation, there are no confirmed indicators to search for. General signs of SQL injection attempts include unexpected database errors in application logs, unusually long or odd query strings in web server access logs, and sudden changes to database content or new administrator accounts.
A web application firewall can add a layer of filtering for injection attempts, but it does not replace patching the library. See what a WAF is for what it can and cannot do. You can also run a read-only check of your public site with Webforta Scan. It is not a fix for this specific flaw.
For a broader routine around keeping software current, see our small business website security guide.
Timeline
- USN-7530-1: earlier notice that fixed the ADOdb vulnerability (date not given in the research).
- 4 November 2026: Ubuntu publishes USN-7530-2 covering Ubuntu 16.04 LTS through 24.04 LTS.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
