CVE-2004-2664: John Lim ADOdb Library for PHP before 4.23 allows remote attackers to obtain sensitive information via direct
CVE-2004-2664 is a medium-severity flaw (CVSS 5.0) affecting adodb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
John Lim ADOdb Library for PHP before 4.23 allows remote attackers to obtain sensitive information via direct requests to certain scripts that result in an undefined value of ADODB_DIR, which reveals the installation path in an error message.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.0 (Medium) |
| EPSS exploit chance | 1.2% (top 32%) |
| CISA exploited list | No |
| Published | 2004-12-31 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-2664?
adodb: upgrade to newer than 4.22. Exact commands for each OS are on this page.
Is CVE-2004-2664 being exploited?
CVE-2004-2664 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-2664 affect?
CVE-2004-2664 affects adodb. Severity is medium (CVSS 5.0). John Lim ADOdb Library for PHP before 4.23 allows remote attackers to obtain sensitive information via direct requests to certain scripts that result in an undefined value of ADODB_DIR, which reveals the installation path in an error messag
How urgent is CVE-2004-2664?
Priority 35/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2021-3850 CRITICAL 9.1 UPGRADE MITIGATE Authentication Bypass by Primary Weakness in GitHub repository adodb/adodb prior to 5.20.21.
- CVE-2016-7405 CRITICAL 9.8 DOWNGRADE MITIGATE The qstr method in the PDO driver in the ADOdb Library for PHP before 5.x before 5.20.7 might allow remote att
- CVE-2016-4855 MEDIUM 6.1 UPGRADE Cross-site scripting vulnerability in ADOdb versions prior to 5.20.6 allows remote attackers to inject arbitra
- CVE-2011-3699 MEDIUM 5.0 DOWNGRADE John Lim ADOdb Library for PHP 5.11 allows remote attackers to obtain sensitive information via a direct reque
- CVE-2006-4618 MEDIUM 5.1 UPGRADE PHP remote file inclusion vulnerability in adodb-postgres7.inc.php in John Lim ADOdb, possibly 4.01 and earlie