CVE-2025-46337 json
SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
published last yr. modified 4mo ago also EUVD-2025-13113 , GHSA-8x27-jwjr-8545
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist adodb/adodb-php 5.22.9
- adodb_project adodb 5.22.9
- libphp-adodb Debian 12 5.21.4-1+deb12u1
- libphp-adodb Debian 14, Debian 13 5.22.9-0.1
debian advisories DEBIAN-CVE-2025-46337
- libphp-adodb Ubuntu 26.04 LTS, Ubuntu 25.10 5.22.9-0.1
- libphp-adodb Ubuntu Pro 16.04 LTS 5.20.3-1ubuntu1+esm2
- libphp-adodb Ubuntu Pro 18.04 LTS 5.20.9-1ubuntu0.1~esm2
- libphp-adodb Ubuntu Pro 20.04 LTS 5.20.16-1ubuntu0.1~esm2
- libphp-adodb Ubuntu Pro 22.04 LTS 5.20.19-1ubuntu0.1+esm1
- libphp-adodb Ubuntu Pro 24.04 LTS 5.21.4-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2025-46337
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2025-46337 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-46337 updated cvss 10.0
ADOdb: SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | adodb/adodb-php | <5.22.9 |
5.22.9 |
Affected products
- ADOdb ADOdb
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426
web
-
github.com
/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545
web
-
github.com
/ADOdb/ADOdb/issues/1070
web
-
xaliom.blogspot.com
/2025/05/from-sast-to-cve-2025-46337.html
web
-
lists.debian.org
/debian-lts-announce/2025/05/msg00029.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-46337
advisory
-
github.com
/ADOdb/ADOdb
package
Sources
- CVE List CVE-2025-46337
- GitHub Advisory GHSA-8x27-jwjr-8545
- NVD CVE-2025-46337
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.