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 update: 2026-05-06 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2016-7405 is rated High Risk (68.5/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 3.10%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2016-7405

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-08-05 4.04% 3.10% -0.93%
2 2025-08-04 4.27% 4.04% -0.24%
3 2025-07-20 4.27%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2016-7405

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.0 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2016-7405

GitHub Security Advisory for CVE-2016-7405

GHSA-3fj4-q72x-x2g9 · Severity: critical · Ecosystem: composer — ADOdb Library SQL Injection

OS Trackers for CVE-2016-7405

vendor priority summary link
debian not yet assigned CVE-2016-7405 not yet assigned priority: Debian including 1 source packages (libphp-adodb), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2016-7405
gentoo normal CVE-2016-7405: 1 GLSA(s) (201701-59), 1 atom(s) (dev-php/adodb); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2016-7405
ubuntu medium CVE-2016-7405 medium priority: Ubuntu including 1 source packages (libphp-adodb), 20 status rows across 20 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, precise, trusty, upstream, xenial, yakkety, zesty): not-affected 13, ignored 4, released 2, DNE 1. https://ubuntu.com/security/CVE-2016-7405

Affected software / configurations for CVE-2016-7405

Vendor Product Version Raw CPE
adodb_project adodb 5.00 cpe:2.3:a:adodb_project:adodb:5.00:beta:*:*:*:*:*:*
adodb_project adodb 5.01 cpe:2.3:a:adodb_project:adodb:5.01:beta:*:*:*:*:*:*
adodb_project adodb 5.02 cpe:2.3:a:adodb_project:adodb:5.02:*:*:*:*:*:*:*
adodb_project adodb 5.02 cpe:2.3:a:adodb_project:adodb:5.02:a:*:*:*:*:*:*
adodb_project adodb 5.03 cpe:2.3:a:adodb_project:adodb:5.03:*:*:*:*:*:*:*
adodb_project adodb 5.04 cpe:2.3:a:adodb_project:adodb:5.04:*:*:*:*:*:*:*
adodb_project adodb 5.04 cpe:2.3:a:adodb_project:adodb:5.04:a:*:*:*:*:*:*
adodb_project adodb 5.05 cpe:2.3:a:adodb_project:adodb:5.05:*:*:*:*:*:*:*
adodb_project adodb 5.06 cpe:2.3:a:adodb_project:adodb:5.06:*:*:*:*:*:*:*
adodb_project adodb 5.06 cpe:2.3:a:adodb_project:adodb:5.06:a:*:*:*:*:*:*
adodb_project adodb 5.07 cpe:2.3:a:adodb_project:adodb:5.07:*:*:*:*:*:*:*
adodb_project adodb 5.08 cpe:2.3:a:adodb_project:adodb:5.08:*:*:*:*:*:*:*
adodb_project adodb 5.08 cpe:2.3:a:adodb_project:adodb:5.08:a:*:*:*:*:*:*
adodb_project adodb 5.09 cpe:2.3:a:adodb_project:adodb:5.09:*:*:*:*:*:*:*
adodb_project adodb 5.09 cpe:2.3:a:adodb_project:adodb:5.09:a:*:*:*:*:*:*
adodb_project adodb 5.10 cpe:2.3:a:adodb_project:adodb:5.10:*:*:*:*:*:*:*
adodb_project adodb 5.11 cpe:2.3:a:adodb_project:adodb:5.11:*:*:*:*:*:*:*
adodb_project adodb 5.12 cpe:2.3:a:adodb_project:adodb:5.12:*:*:*:*:*:*:*
adodb_project adodb 5.13 cpe:2.3:a:adodb_project:adodb:5.13:*:*:*:*:*:*:*
adodb_project adodb 5.14 cpe:2.3:a:adodb_project:adodb:5.14:*:*:*:*:*:*:*
adodb_project adodb 5.15 cpe:2.3:a:adodb_project:adodb:5.15:*:*:*:*:*:*:*
adodb_project adodb 5.16 cpe:2.3:a:adodb_project:adodb:5.16:*:*:*:*:*:*:*
adodb_project adodb 5.16 cpe:2.3:a:adodb_project:adodb:5.16:a:*:*:*:*:*:*
adodb_project adodb 5.17 cpe:2.3:a:adodb_project:adodb:5.17:*:*:*:*:*:*:*
adodb_project adodb 5.18 cpe:2.3:a:adodb_project:adodb:5.18:*:*:*:*:*:*:*
adodb_project adodb 5.18 cpe:2.3:a:adodb_project:adodb:5.18:a:*:*:*:*:*:*
adodb_project adodb 5.19 cpe:2.3:a:adodb_project:adodb:5.19:*:*:*:*:*:*:*
adodb_project adodb 5.20.0 cpe:2.3:a:adodb_project:adodb:5.20.0:*:*:*:*:*:*:*
adodb_project adodb 5.20.1 cpe:2.3:a:adodb_project:adodb:5.20.1:*:*:*:*:*:*:*
adodb_project adodb 5.20.2 cpe:2.3:a:adodb_project:adodb:5.20.2:*:*:*:*:*:*:*
adodb_project adodb 5.20.3 cpe:2.3:a:adodb_project:adodb:5.20.3:*:*:*:*:*:*:*
adodb_project adodb 5.20.4 cpe:2.3:a:adodb_project:adodb:5.20.4:*:*:*:*:*:*:*
adodb_project adodb 5.20.5 cpe:2.3:a:adodb_project:adodb:5.20.5:*:*:*:*:*:*:*
adodb_project adodb 5.20.6 cpe:2.3:a:adodb_project:adodb:5.20.6:*:*:*:*:*:*:*
fedoraproject fedora 25 cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*

References for CVE-2016-7405

cvelogic Threat Intelligence