CVE-2025-46337: SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
Vulnerability summary
CVE-2025-46337 is a critical (CVSS 10.0) vulnerability in ADOdb. It is known to be exploited: ENISA lists it, first on 23-11-2026. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 56.7% of scored vulnerabilities.
Listed as exploited by ENISA (23-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 01-05-2025PublishedVulnerability first disclosed.
- 26-05-2025Last modifiedVulnerability information updated.
- 23-11-2026Added to ENISA KEVExploitedAdded to the ENISA known exploited vulnerabilities catalog.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
- OSV · DebianEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
- NVDNIST10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
EPSS trend
Probability
0.76%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.76% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
- Added
- 23-11-2026
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Adodb1 product
- adodb< 5.22.9
Debian1 product
- libphp-adodb< 5.20.19-1+deb11u2 | < 5.21.4-1+deb12u1 | < 5.22.9-0.1
Mageia1 product
- php-adodb< 5.22.9-1.mga9
Ubuntu1 product
- libphp-adodbAll versions (No fix recorded) | < 5.22.8-0.1ubuntu0.1 | < 5.20.3-1ubuntu1+esm2 | < 5.20.9-1ubuntu0.1~esm2 | < 5.20.16-1ubuntu0.1~esm2 | < 5.20.19-1ubuntu0.1+esm1 | < 5.21.4-1ubuntu0.1~esm1 | < 5.22.9-0.1
4 vendors · 4 products