CVE-2016-7405
ADOdb Library SQL Injection
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2016-7405- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-89
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-7405- Updated
- 2026-11-02
EUVDEUVD-2022-2169 No score
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.
- Record
EUVD-2022-2169- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3fj4-q72x-x2g9
9.8
ADOdb Library SQL Injection
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.
- Record
GHSA-3fj4-q72x-x2g9- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2016-7405- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-7405
9.8
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.
- Record
DEBIAN-CVE-2016-7405- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-3fj4-q72x-x2g9
9.8
ADOdb Library SQL Injection
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.
- Record
GHSA-3fj4-q72x-x2g9- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-7405
9.8
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.
- Record
UBUNTU-CVE-2016-7405- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0363 No score
Updated php-adodb packages fix security vulnerabilities
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. (CVE-2016-7405)
Cross Site Scripting vulnerability in test script (CVE-2016-4855)
- Record
MGASA-2016-0363- Updated
- 2026-11-02
OSVUSN-6825-1 No score
libphp-adodb vulnerabilities
It was discovered that the PDO driver in ADOdb was incorrectly handling string quotes. A remote attacker could possibly use this issue to perform SQL injection attacks. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-7405)
It was discovered that ADOdb was incorrectly handling GET parameters in test.php. A remote attacker could possibly use this issue to execute cross-site scripting (XSS) attacks. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-4855)
Emmet Leahy discovered that ADOdb was incorrectly handling string quotes in PostgreSQL connections. A remote attacker could possibly use this issue to bypass authentication. (CVE-2021-3850)
- Record
USN-6825-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
adodb/adodb-phpPackagist |
5.0 up to 5.20.7 | 5.20.7 |
libphp-adodbDebian:12 |
before 5.20.6-1 | 5.20.6-1 |
libphp-adodbDebian:13 |
before 5.20.6-1 | 5.20.6-1 |
libphp-adodbDebian:14 |
before 5.20.6-1 | 5.20.6-1 |
libphp-adodbDebian:7 |
before 5.15-1+deb7u1, plus listed versions 5.15-1 |
5.15-1+deb7u1 |
adodb/adodb-phpPackagist |
5.0 up to 5.20.7, plus listed versions v5.19v5.20.0v5.20.1v5.20.2v5.20.3v5.20.4v5.20.5v5.20.6 |
5.20.7 |
php-adodbMageia:5 |
before 5.18-5.1.mga5 | 5.18-5.1.mga5 |
libphp-adodbUbuntu:Pro:16.04:LTS |
before 5.20.3-1ubuntu1+esm1, plus listed versions 5.18a-15.20.1-15.20.2-15.20.2-25.20.3-15.20.3-1ubuntu1 |
5.20.3-1ubuntu1+esm1 |
libphp-adodbUbuntu:Pro:18.04:LTS |
before 5.20.9-1ubuntu0.1~esm1, plus listed versions 5.20.9-1 |
5.20.9-1ubuntu0.1~esm1 |
libphp-adodbUbuntu:Pro:20.04:LTS |
before 5.20.16-1ubuntu0.1~esm1, plus listed versions 5.20.14-15.20.15-15.20.16-1 |
5.20.16-1ubuntu0.1~esm1 |
libphp-adodbUbuntu:22.04:LTS |
before 5.20.19-1ubuntu0.1, plus listed versions 5.20.19-1 |
5.20.19-1ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-7405 is a critical vulnerability (CVSS 9.8) in Adodb Project Adodb, published September 13, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.98%, the 87th percentile. Fixed in adodb/adodb-php 5.20.7.
References
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LT3WU77BRUJREZUYQ3ZQBMUIVIVIND4Y
openwall.com/lists/oss-security/2016/09/07/8
securityfocus.com/bid/92969
github.com/ADOdb/ADOdb/issues/226
security.gentoo.org/glsa/201701-59
openwall.com/lists/oss-security/2016/09/15/1
Show 17 moreShow less
github.com/ADOdb/ADOdb/blob/v5.20.7/docs/changelog.md
github.com/ADOdb/ADOdb/commit/bd9eca9f40220f9918ec3cc7ae9ef422b3e448b8
nvd.nist.gov/vuln/detail/CVE-2016-7405
lists.fedoraproject.org/archives/list/[email protected]/message/LT3WU77BRUJREZUYQ3ZQBMUIVIVIND4Y
web.archive.org/web/20210123170727/http://www.securityfocus.com/bid/92969
github.com/advisories/GHSA-3fj4-q72x-x2g9
security-tracker.debian.org/tracker/CVE-2016-7405
advisories.mageia.org/MGASA-2016-0363.html
bugs.mageia.org/show_bug.cgi?id=19307
lwn.net/Alerts/700508
lwn.net/Vulnerabilities/701151
ubuntu.com/security/CVE-2016-7405
github.com/ADOdb/ADOdb/commit/bd9eca9
cve.org/CVERecord?id=CVE-2016-7405
ubuntu.com/security/notices/USN-6825-1
ubuntu.com/security/CVE-2016-4855
ubuntu.com/security/CVE-2021-3850