KeygraphLabs · CVE MCP

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.

CVSS
9.8
critical, from NVD
EPSS
2.98%
percentile 87.8%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-03Published
2022-05-17Package advisory GHSA-3fj4-q72x-x2g9
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 2.98%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-3fj4-q72x-x2g9adodb/adodb-php (Packagist)5.20.7

Also known as: GHSA-3fj4-q72x-x2g9

Related

CVEPublishedCVSSSummary
CVE-2025-541192025-08-0510ADOdb's sqlite3 driver allows SQL injection
CVE-2025-463372025-05-0110SQL injection in ADOdb PostgreSQL driver pg_insert_id() method
CVE-2021-38502022-01-259.1Authentication Bypass by Primary Weakness in adodb/adodb
CVE-2016-48552017-05-126.1same package: adodb/adodb-php (Packagist)
CVE-2026-311582026-10-269.8same weakness (CWE-89) from the same CNA (mitre)
CVE-2026-1070832026-10-199.8same weakness (CWE-89) from the same CNA (mitre)
CVE-2026-1070822026-10-198.8same weakness (CWE-89) from the same CNA (mitre)
CVE-2026-1070812026-10-199.8same 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.

NVD · CVE.org