CVE-2016-7405 · mitre
CVE-2016-7405
The qstr method in the PDO driver in the ADOdb Library for PHP before 5.x before 5.20.7 might allow remote attackers to conduct SQL injection attacks via vectors related to incorrect quoting.
Published 2016-10-03, last changed 2026-06-17. Weakness: CWE-89.
How to fix
Upgrade to a fixed version: adodb/adodb-php 5.20.7 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in ADOdb/ADOdb by bd9eca9f40. Functions changed by the fix: _insertid, qstr. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2016-10-03 | Published |
| 2022-05-17 | Package advisory GHSA-3fj4-q72x-x2g9 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.98% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-3fj4-q72x-x2g9 | adodb/adodb-php (Packagist) | 5.20.7 |
Also known as: GHSA-3fj4-q72x-x2g9
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-54119 | 2025-08-05 | 10 | ADOdb's sqlite3 driver allows SQL injection |
| CVE-2025-46337 | 2025-05-01 | 10 | SQL injection in ADOdb PostgreSQL driver pg_insert_id() method |
| CVE-2021-3850 | 2022-01-25 | 9.1 | Authentication Bypass by Primary Weakness in adodb/adodb |
| CVE-2016-4855 | 2017-05-12 | 6.1 | same package: adodb/adodb-php (Packagist) |
| CVE-2026-31158 | 2026-10-26 | 9.8 | same weakness (CWE-89) from the same CNA (mitre) |
| CVE-2026-107083 | 2026-10-19 | 9.8 | same weakness (CWE-89) from the same CNA (mitre) |
| CVE-2026-107082 | 2026-10-19 | 8.8 | same weakness (CWE-89) from the same CNA (mitre) |
| CVE-2026-107081 | 2026-10-19 | 9.8 | same weakness (CWE-89) from the same CNA (mitre) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-7405, or call /api/v1/vulnerabilities/CVE-2016-7405. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.