# CVE-2025-46337: SQL injection in ADOdb PostgreSQL driver pg_insert_id() method

Source: https://junglewise.ai/threats/cve-2025-46337-sql-injection-in-adodb-postgresql-driver-pg-insert-id-method  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-01  
License: CC BY 4.0 with a link back

CVE-2025-46337 · Severity: low · CVSS 3.1 · Published 2025-05-01

SQL injection in ADOdb PostgreSQL driver pg_insert_id() method

Technologies: [adodb/adodb-php (Packagist)](https://junglewise.ai/threats/technologies/adodb-adodb-php). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2025-46337 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-46337 being exploited in the wild.

**How severe is CVE-2025-46337?** Low severity, with a CVSS score of 3.1, published 1 May 2025.

**Which products and versions are affected?** adodb/adodb-php (Packagist) ECOSYSTEM:introduced=0,fixed=5.22.9.

**Is there a fix for CVE-2025-46337?** Yes. adodb/adodb-php (Packagist): upgrade to 5.22.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-46337?** Check whether you run adodb/adodb-php (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- adodb/adodb-php (Packagist): upgrade to 5.22.9 or later

  ```sh
  composer require adodb/adodb-php:^5.22.9
  ```


## Affected products

- adodb/adodb-php (Packagist) ECOSYSTEM:introduced=0,fixed=5.22.9

## Identifiers

- CVE-2025-46337
- GHSA-8x27-jwjr-8545

## Related threats

- [The ADOdb sqlite3 driver allows SQL injection](https://junglewise.ai/threats/cve-2025-54119-the-adodb-sqlite3-driver-allows-sql-injection)
- [ADOdb SQL injection vulnerability](https://junglewise.ai/threats/adodb-sql-injection-vulnerability-c46d2116)
- [ADOdb Cross-site scripting vulnerability in old test script](https://junglewise.ai/threats/cve-2016-4855-adodb-cross-site-scripting-vulnerability-in-old-test-script)
- [ADOdb Library SQL Injection](https://junglewise.ai/threats/cve-2016-7405-adodb-library-sql-injection)
- [Authentication Bypass in ADOdb/ADOdb](https://junglewise.ai/threats/cve-2021-3850-authentication-bypass-in-adodb-adodb)
