Skip to main content
CVE-2025-46337VulnerabilityPublished Updated

Libphp adodb: Prior to version 5.22.9, improper escaping of a query parameter may allow an attacker to execute

Affects libphp-adodbSource GCVE Database

0
Compare

Not known to be exploited · CVSS 10.0 Critical · fixed in 5.20.3-1ubuntu1+esm2 : patch libphp-adodb as a priority.

Data as of 5 Nov 2026, 00:01 UTC

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.20.3-1ubuntu1+esm2, 5.20.9-1ubuntu0.1~esm2, 5.20.16-1ubuntu0.1~esm2 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 May 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibphp-adodbpkg:deb/ubuntu/libphp-adodb?arch=source&distro=resoluteOther threatsAffected
  • <5.22.9-0.1
Fixed in
  • 5.22.9-0.1
Ubuntu 25.10libphp-adodbpkg:deb/ubuntu/libphp-adodb?arch=source&distro=questingOther threatsAffected
  • <5.22.9-0.1
Fixed in
  • 5.22.9-0.1
Ubuntu Pro 24.04 LTSlibphp-adodbpkg:deb/ubuntu/libphp-adodb?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <5.21.4-1ubuntu0.1~esm1
Fixed in
  • 5.21.4-1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSlibphp-adodbpkg:deb/ubuntu/libphp-adodb?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <5.20.19-1ubuntu0.1+esm1
Fixed in
  • 5.20.19-1ubuntu0.1+esm1
Ubuntu Pro 20.04 LTSlibphp-adodbpkg:deb/ubuntu/libphp-adodb?arch=source&distro=esm-apps/focalOther threatsAffected
  • <5.20.16-1ubuntu0.1~esm2
Fixed in
  • 5.20.16-1ubuntu0.1~esm2
Ubuntu Pro 18.04 LTSlibphp-adodbpkg:deb/ubuntu/libphp-adodb?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <5.20.9-1ubuntu0.1~esm2
Fixed in
  • 5.20.9-1ubuntu0.1~esm2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Apply the official patches provided by Ubuntu by updating libphp-adodb to version 5.22.9 or later. The updates are available for multiple Ubuntu releases including 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 24.04 LTS. Standard system updates will apply the necessary fixes. No additional mitigation is required once patched.

Description

ADOdb, a PHP database abstraction library, contains a critical vulnerability prior to version 5.22.9 where improper escaping of query parameters can allow remote attackers to execute arbitrary SQL commands when connecting to PostgreSQL databases and using pg_insert_id() with user input. This flaw has been patched in version 5.22.9. The vulnerability has a CVSS score of 10.0, indicating critical severity with network attack vector, no privileges required, no user interaction, and impacts confidentiality, integrity, and availability. Ubuntu has released security updates for multiple supported releases to address this issue.

References

Community reviews

Loading reviews…